Code: Select all
blablabla[n option1="bla"]this is my string[/n]blablabla[n option2="bla2"]this is another string[/n]blablablaI am trying to use the following:
Code: Select all
eregi("\\[n .+\\].+\\[/n\\]", $fmt, $links);Is there any easy way to say "use the shortest match available"?
Thanks,
Joe