How to make this regular expression?

Posted by User112312 on Stack Overflow See other posts from Stack Overflow or by User112312
Published on 2010-04-07T06:06:20Z Indexed on 2010/04/07 6:13 UTC
Read the original article Hit count: 171

Filed under:
|
|

I want to replace all line break (<br> or <br />) in a string with PHP. What regular expression I should have to do this, using preg_replace?

Thanks!

© Stack Overflow or respective owner

Related posts about regex

Related posts about php