if (m{\[table\] # Match [table] ([^[]* (?:\[(?!/table\]) [^[]*)*) # Match a string not containi +ng [/table] \[/table\] # Match [/table] }x) {print $1}
In reply to Re: Regular expression question
by JavaFan
in thread Regular expression question
by Benedict White
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |