Thread: Regex examples
View Single Post
Old 08-23-2012, 01:22 PM   #128
Junior Member
Greygor began at the beginning.
Posts: 6
Karma: 10
Join Date: Aug 2012
Device: Samsung Tab 2 GT-P3110
Originally Posted by Doitsu View Post
IMHO, the problem is \w*\W*, which matches a sequence of 0 or more word characters followed by 0 or more non-word characters. I.e., it will at most match one word plus a space or punctuation character. Try .*? instead:

Hi thanks for the response.

Outside of Sigil the regex that I was using worked fine which is what I'm finding odd.

lets me find lots of
"><span class="
but unfortunately that's not quite right, but at least it finds something in Sigil which mine doesn't

Need to think about this, I'm missing something really obvious
Greygor is offline   Reply With Quote