Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

545.Advanced search and replace -- How to replace all the numbers in a text file to the square value?

User: editor -- 2010-06-24          << 544  546 >>
Hits: 3618
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to replace all the numbers to the square value in a text file?
Input Sample:
there are many numbers: 
33, 28, 76 
55, 49, 3 
7, 20, 111
Output Sample:
there are many numbers: 
1089, 784, 5776 
3025, 2401, 9 
49, 400, 12321
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 
* in 'search for pattern', enter: 
 
* in 'replace with pattern', enter: 
 
3. click 'Replace', done!

Similar Examples:
How to change all numbers in a text file to the comma separated numbers? (72%)
How to change all numbers in a text file to 2 decimial places? (71%)
How to extract all lines with numbers from many text files? (67%)
How to extract all telephone numbers from a text file? (66%)
How to remove/delete all symbols and numbers in a text file, only leave text? (66%)
How to change all the letters in a text file to upper cases? (64%)
How to replace words in a text file only if they are whole words? (64%)
How to sort all the lines of a text file by order the multiple columns? (63%)

Check Demo of Advanced search and replace
Keywords:
square  how to replace all the numbers  numbers  calc  value  cal  enter  number  ber  num  all numbers  and replace numbers in text file  search numbers  with numbers  replace numbers in text  text to numbers  replace numbers  replace value in text