Regular Expression for A Number

I’ve recently had to delete pages numbers out of some of the novels I’ve saved on this site. A handy way of stripping out these numbers quickly is by using Dreamweaver’s search function, which can take a regular expression as a search term.

To get rid of numbers in the format [1]… [10]… [100] I just searched for;

[[0-9]+]

When I needed to get rid of the page line links (<a name=”Page_12″ id=”Page_12″></a>) I searched for;

<a name=”Page_[0-9]+” id=”Page_[0-9]+”></a>

Leave a Reply