Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

237.Advanced search and replace -- How to mask specified bytes of a list of phone numbers?

User: editor -- 2008-07-29          << 236  238 >>
Hits: 1767
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to mask specified bytes of a list of phone numbers?
Input Sample:
3202225566 
3212250808 
3232200671 
2538422622
Output Sample:
3**2****66 
3**2****08 
3**2****71 
2**8****22
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 "Replace Scope" to "Line" 
* set "Search for pattern" to: 
 
* set "Unit Number Filter" to: 
 
* set "Replace with pattern" to: 
 
3. Click "Replace", done!
Download Script:  scripts/237.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to find missing numbers from a list of numbers? (62%)
How to add a specified value to the sequence number in each line? (60%)
How to remove some specified characters from multiple filenames? (60%)
How to move specified items to the end of a segment? (57%)
How to replace specified occurrance of some string to a list of words? (54%)
How to change specified number to increasing numbers that are multiple of 6? (54%)
How to save specified lines of text file into different files? (54%)
How to make specified change for .htaccess file? (54%)

Check Demo of Advanced search and replace
Keywords:
phone numbers  mask  phone number  phone  bytes  byte  unit number filter  number filter  replace scope  scope  search and replace bytes  search replace bytes  list of numbers  list numbers  replace bytes  search numbers  with numbers  text to numbers