Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pattern:
- /(?P<bbcode_open>\[)(?P<tag>(?P<tag_arg>url)((="(?P<tag_attr>[^"]*)"){0,1}))(?P<par>(( (?<par_arg>[a-z]+)="(?P<par_attr>[^"])")*){0,1})(?P<bbcode_close>\])(?P<body>((?:(?!(?P=bbcode_open)(?P=tag_arg)(=| |\])).)+?){0,1})(?P=bbcode_open)(?P<bbcode_slash>\/)(?P=tag_arg)(?P=bbcode_close)/
- replace:
- <a href="$6"$7>$13</a>
- subject:
- [url="hi.jpg" class="menu" style="font-face: monospace;"]hi (jpeg)[/url]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement