PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
this is because of the white spaces in html. If you remove those white spaces this RegEx will work fine.
use following code before the preg_match function.
Your regular expression gives me warning:
Warning: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 34 in \test\temp.php on line 30 and line 30 is this