Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

336.Advanced search and replace -- How to change all numbers which have format of (number) to -number?

User: editor -- 2009-06-06          << 335  337 >>
Hits: 1725
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to change all numbers which have format of (number) to -number?
Input Sample:
332 
(126) 
37 
(228) 
(990) 
Output Sample:
332 
-126 
37 
-228 
-990
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 
* enter 'search for pattern' like: 
 
* enter 'replace with pattern' like: 
 
3. click 'Replace', done! 
4. click ctrl-s save the file.
Download Script:  scripts/336.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to change all numbers which have format of (number) to -number? (100%)
How to change all negative numbers to the format of (number)? (75%)
How to change all numbers in a text file to the comma separated numbers? (62%)
How to change the numbering format in a text file to a new format? (58%)
How to extract all numbers in a text file, and provide a summary of number at the end? (56%)
How to convert all numbers from decimal to percentage? (55%)
How to replace strings and numbers with new format in multiple files? (53%)
How to sort file by the number which first appear in each line? (53%)

Check Demo of Advanced search and replace
Keywords:
how to change all numbers  all numbers  numbers  format  enter  number  ber  num  how to change  change  change number format text file  file number format  search numbers  enter number  with numbers  text to numbers  replace numbers  replace all number text file