What's the best way to extract HTML out of $var?

From: Date: Fri, 15 Jan 2010 02:15:56 +0000
Subject: What's the best way to extract HTML out of $var?
Groups: php.general 
Request: Send a blank email to php-general+get-301125@lists.php.net to get a copy of this message
What's the best way to extract HTML out of $var? example of $var $var = "<a href="http://http://stackoverflow.com/"Stack Overflow</a>" I want $var2 = "http://starckoverflow.com/" example: preg_match(); what else? -- http://alexus.org/

« previous php.general (#301125) next »