View Single Post
Old 01-27-2011, 06:18 PM   #6
duepixel
Junior Member
duepixel began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2011
Device: kindle 3
Quote:
Originally Posted by user_none View Post
^ and $ work fine for start and end of string. Remember that the start of the string is the first character in the regex preview. You probably want ^ and $ to work on lines. Look the (?iLmsux) flags section of the Python Re Syntax to enable this behavior.
ok, sorry.
Code:
(?m)^
works fine.

Please add more S&R items! at least 5 or 6, or dynamic list. It 's too good!

Quote:
Originally Posted by kovidgoyal View Post
Yeah but if you're doing large scale search replace you should really be using an editor.
if I have a pdf file, the only way to work on text in html is S & R, I think.

Last edited by duepixel; 01-27-2011 at 06:27 PM.
duepixel is offline   Reply With Quote