I have a custom bbcode that takes a link input and places it between some html tags and then converts it to the format I need. It works fine, however, I'd like to have the bbcode work only if it matches specific names, otherwise the link is not parsed.
It seems like the advanced bbcode setting "Option match regular expression" might work, but it doesn't seem to do anything.. I may be using an incorrect expression, however.
Can this be done? Or could it be done using a callback somehow that does a regex to validate that the domain url matches?
Any help would be greatly appreciated.
It seems like the advanced bbcode setting "Option match regular expression" might work, but it doesn't seem to do anything.. I may be using an incorrect expression, however.
Can this be done? Or could it be done using a callback somehow that does a regex to validate that the domain url matches?
Any help would be greatly appreciated.