Community & Support

Regex filter for multiple errant <br> codes in feed

I'm trying to filter out (using the regex filter) the following html code:

&lt;br&gt;

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.

nobody click here