You could either use /\Q[[$tag_name]]\E((.|\n)*?)\[/) or add a modifier to the regex so that '.' matches '\n' as well, I think it was m or s
In reply to Re: Can't quite get this regex working
by jethro
in thread Can't quite get this regex working
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |