Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

752.Regular expression replace -- How to change the http address to related email address in text file?

User: bruce lee -- 2011-03-28          << 751  753 >>
Hits: 2202
Type: Regular expression replace   
Search all Regular expression replace examples
Description:
how to change the words in each line in text file? 
Input Sample:
www.kama-ceramics.com 
www.circaceramics.com 
www.zmed-ceramics.com 
...
Output Sample:
info@kama-ceramics.com 
info@circaceramics.com 
info@zmed-ceramics.com 
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source text file 
2. ctrl-h open 'replace' dialog 
* set 'search for pattern' to: 
 
* set 'replace with pattern' to: 
 
3. click 'replace', done. 
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to count how many http address and email address appearing in a html file? (69%)
How to extract all email addresses from many text files? (63%)
How to extract/parse all http addresses from text/html file? (61%)
How to sort all lines of ip addresses in a text file? (60%)
How to change http address to hyperlink? (60%)
How to extract all html address from a text file? (58%)
How to validate many email addresses in a text file and export them? (58%)
How to extract all valid ip address from a list of ip addresses? (57%)

Check Demo of Regular expression replace
Keywords:
email address  email  email a  mail  address  addr  www  regular expression  expression  http  email line  email address text file  in text http address  address line  replace in http address  search text file with words in  search expression  search words