Hi Ben, thanks for the quick reply. Am I right that I could embrace the different parts of that regex for simple back-reference? I have to grab the complete URL of the src-attribute (need to work with that a bit) and replace it with a known string:
e.g.: <img src="/path/to/image.gif" height="25" width="20"> would lead to: <img src="cid:inlineImage01" height="25" width="20"> So something like that could work? (<img [^>]*src=")([^"]+)("[^>]*>) => \1cid:inlineImage01\3 Patric > Finding the img tags should be easy. Replacing them with inline tags > is, unfortunately, something I'm not familiar with. > To find an img tag, you would look for something like this: > <img [^>]*src="[^"]+"[^>]*> > Hopefully, someone can help with the other half (9/10ths?) of the problem. > --Ben -- Patric Stumpe mailto:[EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211570 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

