I am playing with BBCode and need to understand Regular Expressions.
I have found 2 examples to start with and these are the bold tags but I can not identify what the difference between the 2 examples.
I have been told they do the exact same function.
I have tried looking at Regualr Expression tutorials on the net and I understand some of what I have read but I can not find out what...
The / mean in the first example (beginning and end of expression)?
The / mean in the second example (beginning and end of expression)?
The is (/is ot #is) on the end of the examples mean?
/\[b\](.*?)\[\/b\]/is
#\[b\](.*?)\[/b\]#is
Thanks very much