Quick Regex Question

rockhard

Less Is More
Apr 24, 2008
1,050
13
0
How do I preg_replace this: [1]

in a string like this: blah [1] blah ?

I'm having problem with the brackets [ ].
 


Found out you had to escape them with a backslash like this: \[1\]
I was trying to escape them with a frontslash the whole time :p