What is the correct code to accomplish a search & replace with specific parameters?
I have for example this:
[TD=class: myclass]Dynamic String, can contain all chars, simple?
[TD=class: myclass]Another Dynamic String, yup!
I want this:
[TD="class: myclass"]Dynamic String, can contain all chars, simple?
[TD="class: myclass"]Another Dynamic String, yup!
So just remove the URL tag BUT only if prefixed with the [td BBCode
I tried already these pattern with preg_match_all, but failed miserably:
'/\[TD="class: myclass"\]\[url="http:\/\/my.com\/static/<.*>/'
Does anyone has a solution? Thanks in advance...