PHP preg_match [ and ] alternatives
Posted: Sat Jul 28, 2007 6:25 pm
Hello,
I am using the preg_match command in my PHP code. however in the script I need to get values inside the [ ] brackets
i have tried:
using the \ however this doesn't work please HELP!
Thanks!
I am using the preg_match command in my PHP code. however in the script I need to get values inside the [ ] brackets
i have tried:
Code: Select all
\[member\](.+)\[/member\]Thanks!