Php Regular Expression Help

Hi all

I have a regular expression which needs to work with four different text patterns. The regular expression is currently working correctly if I use a testing tool like regexpal.com (with “Dot matches all” checked).

So I repeat, everything is working fine if I use a regular expression testing tool to test my regular expression. 🙂

The problem is when I try to use the regular expression in my PHP code, no matches are found. I don’t know why.

The PHP code is a simple preg_match:


Leave a Reply

Your email address will not be published. Required fields are marked *