Page 1 of 1

Regular Expression search for * character

Posted: Thu Mar 24, 2011 9:31 pm
by gwgs
Is there a way of searching for the * character as part of a regular expression?

Thanks

Grant

Posted: Thu Mar 24, 2011 11:07 pm
by jussij
Is there a way of searching for the * character as part of a regular expression?

There are several reserved regex characters: ^*~$[]{}\+-.?

To search for any of these all you have to do is esacpe them using the \ character.

So in your case you need to use this search string: \*

Cheers Jussi