I have a string
<img alt="cid:[email protected]" src="image021.gif" id="Picture_x0020_1" border="0" height="26" width="156">
and i wish to replace cid:[email protected] with image037.gif.
I know this could be done with strpos and substr, however, out of my curiosity wanted to know how could this be achieved with regex.
Also, would be great if anyone here could help me with some good articles, tips and tricks on Regex or anything that helps us to understand how to learn regex.
