The Regex Coach Re: regex question (hopefully an easy solution?)
"Kevin Reed" <[email protected]> Sat, 27 Nov 2004 09:54:13 -0700 (MST)
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
Andrew said: > Hi Everyone... > > This question is a follow up from my previous one (hopefully someone can > help :) ) > > 1) if I do > deny message = Dangerous HTML tags in message ($regex_match_string) > regex = <script> ... > But it also doesn't match :( - If I do this with grep and egrep it > matches. I have spent ages looking online with regex manuals trying to > find if it is a special character, but no luck :( - > > Can anyone give me some advice? I feel I am 99% of the way there.... > just that last little 'push'. If you are not good with regex, get a tool to help you "see" it ... http://weitz.de/regex-coach/ This is a windows tool that lets you set up regex patterns and see how they work against certain strings. It is free.