For reasons too long to explain, our web servers have changed version of PHP which now means we need to use regular expressions in the perl format rather than the posix. We have had major problems that have been solved but now need help with some regex.
The original Posix regex was (using php function erigi which is case insensitve :
\\[table\\]([^\\[]+)\\[/table\\]
This is the input text:
[b]South Coast[/b] <br />
[table] <br />
Boat Link Asking Price Lying<br />
Heritage [url=http://www.someurl.co.uk/home/FS_heritage]
+Detail on Heritage [/url] Warsash<br />
Firestorm Too [url=http://www.someurl.co.uk/home/FirestormToo] Deta
+il on Firestorm Too [/url] Plymouth<br />
[/table]<br />
I need it to match on the
[table] and the
[/table] and extract the data inbetween, this passed to another function to construct the table.