< n00b alt= \ " n00b alert \ " >
i want to replace a section of a string that looks like this :
' <tag1>this is some text</tag1>
Main text here
<tag1>more text here</tag1>
More main text would be here '
I want to strip the two tags <tag1> </tag1> and everything between them so I am left with :
' Main text here
More main text would be here '
I have no idea where to start so any help would be great.
do in need to use str_replace ? because i cant seem to find what a wildcard is ?
Thanks in advance
< / n00b >