Benedict White has asked for the wisdom of the Perl Monks concerning the following question:
This is the input text:\\[table\\]([^\\[]+)\\[/table\\]
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.[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 />
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular expression question
by Neighbour (Friar) on Sep 29, 2011 at 13:25 UTC | |
|
Re: Regular expression question
by pvaldes (Chaplain) on Sep 29, 2011 at 13:57 UTC | |
by morgon (Priest) on Sep 29, 2011 at 14:03 UTC | |
by Benedict White (Novice) on Sep 30, 2011 at 08:18 UTC | |
|
Re: Regular expression question
by JavaFan (Canon) on Sep 30, 2011 at 09:14 UTC |