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
1261.Advanced search and replace -- How to caplitalize all specified words between ">" and first "#"?
User:
Dilip -- 2014-10-20
<< 1260
1262 >>
Hits:
2587
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
In between ">" and first occurrence of "#" find all the words equal to greater
than 4 characters and capitalize the first letter!
Input Sample:
>benz in blue color#
>audi in white color#
Output Sample:
>Benz in Blue Color#
>Audi in White Color#
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 'search for pattern' to:
>(.*?)#
* set 'replace with pattern' to:
replace($match,'(\w{4,})','\u$1')
3. click 'replace', done.
4. ctrl-s save to file
Screenshot 1: Replace_Window
Similar Examples:
How to copy a line containing specified word and insert between line 1 and 2?
(61%)
How to extract lines with specific words in first column?
(58%)
How to keep all specified words in an article and remove rest words?
(57%)
How to replace all specified symbols with dot in specified range?
(56%)
How to extract all data followed by specified words from many files?
(54%)
How to pick up paired lines with specified rules in a text files?
(53%)
How to add bold tag for some specified keywords in multiple html files?
(53%)
How to extract multiple lines in specified order from many text files?
(53%)
Check Demo of
Advanced search and replace
Keywords:
words equal
capital
cap
greater
equal
first letter
specified words
letter
find
between
search and replace capitalize
capitalize first
replace first occurrence
match occurrence
replace between characters
find 2 words
match first characters
replace first 4 characters