Dec 14, 2009, 12:27 AM
Post #1 of 2
Regex for non-word chars excluding - (minus) and =(equals)
I'm trying to frame a regular expression where I have to search for the non-word characters except - and =. Currently I have put all the meta chars and non-word chars other than - &= for my search. But I think there should be alternate and easy way to get it.
For .eg., I have to search for string like abc%de_f (this regex matching this should work for any patterns with non-word chars except - and =)
Any help on this would be highly appreciated.