Hello,
I am having trouble with my Regular Expression I'm using to make a BBcode system.
I can't seem to be able to escape the forward slash.
Here is the preg pattern I have:
It doesn't like the \/a and comes up with unknown modifier 'A'.
Help please!
Thanks,
tenx23
I am having trouble with my Regular Expression I'm using to make a BBcode system.
I can't seem to be able to escape the forward slash.
Here is the preg pattern I have:
Code:
/\[a\](.*?)\[\/a\]/i
Help please!
Thanks,
tenx23