There are a lot of posts on regular expressions, but I can't seem to figure out how to match the following:
This is a [%Var%] in a string.
How do I match [%Var%] ?
Thanks!
preg_match("/([%Var%])/", $string)
Check here for more info on regular expressions.
Cgraz