Re: Re: problem with this regex to remove img tag...

From: Date: Sun, 16 Mar 2008 21:49:47 +0000
Subject: Re: Re: problem with this regex to remove img tag...
Groups: php.general 
Request: Send a blank email to php-general+get-271674@lists.php.net to get a copy of this message
Thanks guys! This (From Tul/Sokolewicz): $html = preg_replace('#(<[/]?img.*>)#U', '', $html); worked perfectly! I'm just learning this stuff so its extremly hard for me... i have been messing around with PHP for years but rarely even dipped my toes into the REGEX part as I think it would be easier for me to learn greek :) Now that thats over... can anybody recommend a good starting point to learn regex in baby steps? Cheers! R ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

« previous php.general (#271674) next »