Regular expression help
<a has what ever in between, doesn't include a string and has an end </a> |
my code is
preg_match_all("/<a.*(?<!name\.cfm)</a> |/", $html, $matching_data);
the ending parameter </a> | seems to grab loads of line breaks, the (?<!name\.cfm) just doesn't seem work as code grabbed my the reg expression contains name.cfm.
Any ideas?
-
Spencer Westwood -
Thanks
{{ DiscussionBoard.errors[256731].message }} -