regexp to find image path file in an image tag

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-22T21:19:27Z Indexed on 2010/05/22 21:20 UTC
Read the original article Hit count: 297

Filed under:
|

Hi

I'm looking for a regexp that find all images path in an image tag (src) and transform all images path by cid:filename

<img src="../images/text.jpg" alt="test" />

to

<img src="cid:test" alt="test" />

Thanks for your help

Chris

© Stack Overflow or respective owner

Related posts about php

Related posts about image