neilfurry Posted April 16, 2009 Share Posted April 16, 2009 :'( can you help me with this, i want to get emails from different webpages within the <a></a> tags, im using preg_match_all to do this, here is my code: $res = preg_match_all( "/[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z]{2,}/i", $text, $matches ); This gathers email but not those within the <a></a> tags. Please help. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/154379-preg_match_all-question/ Share on other sites More sharing options...
Zane Posted April 16, 2009 Share Posted April 16, 2009 sounds like you want to make a e-mail grabber/Spamming system Link to comment https://forums.phpfreaks.com/topic/154379-preg_match_all-question/#findComment-811684 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.