How to make this regular expression? - by User112312 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! Read the article