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
1308.Advanced search and replace -- How to replace letters with predefined numbers in a text range?
User:
Dilip -- 2015-06-11
<< 1307
1309 >>
Hits:
2722
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
Replace Text with predefined numbers in a text range from S to Z (case insensitive),
where
q=0
r=1
s=2
t=3
u=4
v=5
w=6
x=7
y=8
z=9
Input Sample:
S100
100t
Output Sample:
2100
1003
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open 'replace' dialogue
* set 'replace with pattern' to:
replace($match, 'qrstuvwxyzQRSTUVWXYZ', '01234567890123456789', 2)
3. click 'replace', done.
Screenshot 1: Replace_Window
Similar Examples:
How to replace the User-Defined lines of A text from B text?
(67%)
How to replace a word/string with increasing sequence number in a text file?
(63%)
How to replace all the numbers in a text file to the square value?
(63%)
How to replace the 7th column with increasing numbers between the specified range?
(61%)
How to re-arrange lines with in a specified number of lines?
(60%)
How to replace or remove 3 lines randomly in a text file?
(60%)
How to batch rename files by appending the number of lines at the end?
(60%)
How to copy one file for many times with pre-defined name in a list?
(60%)
Check Demo of
Advanced search and replace
Keywords:
123456
12345
1234
123
range
replace letters
letters
define
fine
replace letter
replace text in range
range replace
and replace numbers in text file
search numbers
with numbers
replace numbers in text
text to numbers
replace numbers