I need to match (case insensitive) "abcd" and an optional trademark symbol
Regex: "/abcd(™)?/gi"
See example:
<?php
preg_match("/abcd(™)?/gi","AbCd™ U9+",$matches);
print_r($matches);?>
When I run this $matches isn't populated with anything... not even created as an empty array. Any ideas?
Thanks.