I really suck at making regular expressions, I need a regular expression that matches
this patern : [any character / characters here]
this worked for specific targets :
[code]
'/\['.$sTarget.'\]/'
[/code]
but I have no idea on how to do it on any character/word thats in between the brackets.
[code]/\[.*?\]/[/code]
-snip-
What he said. :ninja:
Sorry, you need to Log In to post a reply to this thread.