View Single Post
Old 01-06-2011, 03:56 AM   #34
Techracer
Junior Member
Techracer began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Location: New Zealand
Device: Kobo
Hi,
I'm also having trouble with this implementation of regex. I've looked at the tutorial links, and I've used regex elsewhere before. I'm used to using ^ as meaning the start of the line and this is not working for me.

I'm converting from pdf, the book in question is a free Doctor Who short story on the bbc web site. It has the bbc logo, the web url and another icon as header or footer on every page. It also has the page number, but I want to get rid of that.
Trying to use (^\d+<br>) to match
2<br>
at the start of a line only but it isn't working. If I remove the ^ it finds it but also page numbers from the contents page which are at the end of the line.

Is there some other indicator of "start of line" that I should use?

Cheers,
Damian
Techracer is offline   Reply With Quote