Alright in the PHP site I'm building there are tags like [img]url[/img]. These will appear in big strings of text that present posts. How can I use a regular expression to strip [img]image.jpg[/img] out for example, but image.jpg can be anything! This is because I dont want tags and their attributes to appear in search results.
Thank you for your help. Code would be nice.