Assuming you're using PHP:
I suck at regex, but a good trick is to just learn this, it's almost all you ever need anyway:
Code:
preg_match("/abc(.*?)/","abcdefg",$match); $output = $match[1];
echo $output;
//Will return defg
(.*?) will, for the most part, work for everything.
I just put the variable assignment on the same line.
If you want to be more specific with caps etc add Uism:
Code:
preg_match("/abc(.*?)/Uism","abcdefg",$match); $output = $match[1];
echo $output;
//Will return defg
Also, let's say you only want it to return "de":
Code:
preg_match("/abc(.*?)fg/Uism","abcdefg",$match); $output = $match[1];
echo $output;
//Will return de
If you want to work with preg_match_all instead, I suggest you debug with print_r:
Code:
preg_match_all("/abc(.*?)fg/Uism","abcdefgabcdefg",$match);
print_r($match);
If it doesn't work, find something else, the internet is full with such free tools. Just make sure they are actual apps, not some virus.Url Extractor has been created to extract URL addresses from web pages. It can fetch all valid URL's any HTML file and generate an output file with formatted Url's without duplicates. You are also able to filter Url's to prevent addresses (you do not wish to be included in your list) to be added.
http://www.webextractor.com/download.htm
Made my script into a webpage so you can scrape URLS anywhere: http://shrinkr.info/k06jcr
goes to a 404 for me.![]()
<?php
$urllist=file("yourfile.txt");
foreach($urllist as $urlline){
$array=explode('"',$urlline);
echo $array[3]."\n";
}
?>
Download EmailSpider Gold 10, upload the file to ur server and extract the emails from there...![]()