Ng Hwee Hwee wrote:
thanx!!! it worked like a charm! =)

just a question, i've tried adding a ^ to the front of your expressions and
a $ to the end of your expression and it still worked.. but is it
recommended? why didn't you use them?


Yeah, you should use them to ensure that the text is _only_ that code and not just contains it. Otherwise "asdf sinx1234-123-12 asdf" will pass. I just forgot. :)


John Holmes

php|architect - The magazine for PHP professionals -

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to