We are constantly trying to improve PHP Freaks and these forums, so feel free to go to the PHPFreaks Comments/Suggestions board and point out anything you'd like to see different!
0 Members and 1 Guest are viewing this topic.
<?php$html = '<a href="http://something.com" target="_blank">Test </a>';if (preg_match('/href="([^"]*)"/i', $html , $regs)){ $result = $regs[1];} else { $result = "No URL Found";}echo $result ;?>
After all, why would you insert your penis into a hole for no reason whatsoever?
I dunno about that. A regular expression has a 0% chance of touching my penis.
the code is professionally made up but not working