Home › Forums › CSS › Replacing
with newline › Re: Replacing
with newline
November 22, 2010 at 5:09 am
#72776
Participant
This will replace a br with n – n will work in a string if you use ” instead of ‘ – else you might have to concatenate it in… but give it a go anyway :D
$string = preg_replace('/
/', 'n', $string);