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
1337.Advanced search and replace -- How to capitalize all words except some stop words?
User:
Dilip -- 2016-01-27
<< 1336
1338 >>
Hits:
2226
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
Make all text Title case except stop words (a, the, on) until first occurrence
of a comma in the line
Input Sample:
fat black cat sat on the mat, an
expression
Output Sample:
Fat Black Cat Sat on the Mat, an
expression
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 unit' to 'Chars'
* set 'replace scope' to 'Line'
* set 'search for pattern' to:
(,.*)|\b(on|the|a)\b|\b(.*?)\b
* set 'replace with pattern' to:
\1\2\u\3
3. click 'replace', done.
Screenshot 1: Replace_Window
Similar Examples:
How to find from an article all words not appeared in a word list?
(55%)
How to change all word1 inside(or outside) bracket to word2?
(55%)
How to capitalize the first words of each sentence automatically?
(55%)
How to caplitalize all specified words between ">" and first "#"?
(54%)
How to keep the key words and delete all the other words?
(54%)
How to sort the comma separated words by the length of words?
(52%)
How to keep all specified words in an article and remove rest words?
(51%)
How to count number of each intial letters in all words in text file?
(50%)
Check Demo of
Advanced search and replace
Keywords:
capital
cap
except
title
comma
case
replace scope
scope
chars
first
search and replace capitalize
capitalize first
replace first occurrence
replace first comma in a line
except search text
first words
first 3 words
replace comma