I have a string that includes a tag (that needs to be replaced), however the tag is not fixed, though it has a fixed mask:
Ok.. now the hard part. Is there a PHP function that will return such substrings, i.e. all substrings that match a certain mask?
What I want to accomplish is to replace the tag with some text, based on the specified parameter.
Thank you kindly for any suggestions,
- The topic ‘PHP question’ is closed to new replies.