Regular Expression search for * character

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
gwgs
Posts: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

Regular Expression search for * character

Post by gwgs »

Is there a way of searching for the * character as part of a regular expression?

Thanks

Grant
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
Post Reply