Menu
Hi I’m using str_replace() to remove some text and html code from a string. How do I match a line break in the html code? It literally looks like this in the html:
Schedules are subject to change without notice. For most up to date information, please log into our Online Booking System to search for flights required and availability.<br />
<br />
I can’t match the second <br />, presumably because I need to include a line break in my “needle”. I’ve tried a bunch of things and can’t get a result. Thanks in advance.