Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

703.Advanced search and replace -- How to add a "mailto" link for every email address in a webpage?

User: editor -- 2011-01-21          << 702  704 >>
Hits: 3044
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to add a "mailto" link for every email address in a webpage?
Input Sample:
<html> 
... 
... 
test@mind-pioneer.com 
... 
</html>
Output Sample:
<html> 
... 
... 
<a href="mailto:test@mind-pioneer.com">test@mind-pioneer.com</a> 
... 
</html>
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open html file 
2. ctrl-h open 'replace' window 
* set 'search for pattern' to: 
 
* set 'replace with pattern' to: 
 
3. click 'replace', done! 
4. ctrl-s save to file. 
 
Note: for multiple files, click "Batch..." button in step 3, and drag multiple files to "Batch Runner" window, and click "Batch Replace".

Screenshot 1:  Replace_Window


Similar Examples:
How to extract email addresses from multiple webpages? (60%)
How to extract email address from website or webpages? (60%)
How to extract all image links from a list of webpages? (57%)
How to remove all the unavailable addresses from a list of web pages? (55%)
How to validate many email addresses in a text file and export them? (55%)
How to sort a list of email addresses by the order of the domain name? (54%)
How to add a port 80 for all IP addresses in a text file? (54%)
How to extract all links from a web page?   (54%)

Check Demo of Advanced search and replace
Keywords:
chm  mailto  href  a href  email address  email  email a  mail  webpage  webp  mailto replace  search for mailto link  search and replace mailto html  html link  link html  html to link  html save  save html