Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

145.Text file parser -- Is it possible to extract all email addresses from web pages like forum?

User: editor -- 2008-05-22
Hits: 366
Type: Text file parser   
Search all Text file parser examples
Description:
Is it possible to extract all email addresses from web pages like forum?
Input Sample:
sdfds sfdskfsd
sfsdf test@test.com
dsfds test2@test3.com
dfdfdfd
Output Sample:
test@test.com
test2@test3.com
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. open menu "File->Load->www page" and enter your web url to process, and click 'ok', all the text on the website will be copied to the editor window.
2. click ctrl-h to open 'Replace Dialog':
1) Fill the window under the 'Search for pattern' like:

2) Fill the window under the 'Replace with pattern' like:

3. Uncheck '[ ]Print unmatched unit' at the middle
4. Click 'Replace', OK!
Download Script:  scripts/145.rst.zip

Similar Examples:
How to extract all email addresses from many text files? (64%)
Is it possible to convert all the hexadecimal figures in a file to plain readable code? (62%)
How to extract all <IMG> pictures addresses from a webpage? (61%)
How to extract all links from a web page?   (57%)
How to extract all IP address from a text file? (54%)
How to extract/parse all http addresses from text/html file? (53%)
How to extract all the links and images from many web page files? (53%)
How to replace all the old web address of Favoriates links? (50%)

Check Demo of Text file parser