Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
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:
361
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:
\((\d+)\)
* enter 'replace with pattern' like:
-$1
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 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 sort file by the number which first appear in each line?
(53%)
How to change all numbers in a text file to 2 decimial places?
(53%)
How to change text file format with user specified rules?
(53%)
Check Demo of
Advanced search and replace
Keywords:
how to change all numbers
numbers
format
number
how to change
ber
num
change
enter
save
file number format
text to numbers
file format
change text
file and replace to change the
with number
file number
search and replace open source