I'm extending the content management system that several sites I
manage is based upon (I built the CMS and have evolved it over the
past year or so).

One of the things I need to be able to do is remove HTML IMG tags from
the content field in the database; I know the name of the image whose
tag needs to be removed.

So, given a file name of "whatever.jpg", how would I remove the entire
HTML image tag that includes that image name?  I'm going to assume
that rereplacenocase() is the right tool to use, but my REGEX skills
aren't all that strong.

Thanks,

Pete

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236373
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

Reply via email to