Posted by Mercury500 on February 22, 2008 at 2:14am
I'm trying to filter out (using the regex filter) the following html code:
<br>
in a feed I'm pulling with feedapi - there are many many per item -
and getting the error:
preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Unknown modifier 'g' in /mnt/gs01/herd02/35636/domains/flixer.com/html/sites/all/modules/regex_filter/regex_filter.module on line 236.
I've messed around with various forms of the regex code, but can't get it to work. Regex is just tricky.
Anybody know the "format" to get it to find and replace this particular sequence? (it's a <br> in ascii html code)
Thanks.