I know how to replace a first occurrence of a <br>
. For instance:
$text = preg_replace('/<br>/','',$text,1);
However, I need to remove the first <br>
once only before the first letter / word.
Remove if:
<br>
A storm is coming...
Do not remove if (even though it's a first occurrence):
A storm is coming...
<br>