-
Recent Posts
Twitter
- First day in new job over! Went well, despite stressing so much that I had a headache all day. Hope tomorrow is just as good, sans ouchies. 2 days ago
- Don't like #SOPA & #PIPA? Then you're gonna hate #ACTA. Sign&Share the @accessnow petition http://t.co/svdSz0ky #StopACTA #opennet 3 weeks ago
- is the proud owner of a new touch-screen laptop! Bought it for the specs, totally didn't realise it had touch screen till I got it home! 1 month ago
Archives
Meta
Tag Archives: regular expressions
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>