I want to strip out the following in a string:
[blah.com...]
Basically the URL followed by 4 0-9A-Za-z
I have this:
preg_replace('/http:\/\/blah\.com\/[0-9A-Za-z]{4}/', '', $text);
But it doesn't quite work. I still want it to show URL's like [blah.com...] and [blah.com...]
Any ideas?