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
Character count
Character encoding
Bin Hex Oct Dec converter
Text generator
RSS: Replace Pioneer Examples
260.Advanced search and replace -- How to capitalize the first words of each sentence automatically?
User:
editor -- 2008-08-28
Hits:
228
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
How to capitalize the first words of each sentence automatically?
Input Sample:
this is test1. this is test2.
are there more tests? yes.
Output Sample:
This is test1. This is test2.
Are there more tests? Yes.
Answer:
Hint: You need to
Download and install "Replace Pioneer"
to finish following steps.
1. ctrl-o open source file.
2. ctrl-h open 'Replace' dialog:
set 'Search for Pattern' to:
[A-Za-z][^\.\!\?]*
set 'Replace with pattern' to:
ucfirst($match)
3. Click 'Replace', done!
Download Script:
scripts/260.rst.zip
Similar Examples:
How to import a list of urls to IE favorate automatically?
(60%)
How to split every file in a directory automatically?
(58%)
How to find the 5 largest number from a text file automatically?
(57%)
How to extract tables from html files into csv file automatically?
(57%)
How to delete the first word in each line in a text file?
(57%)
How to batch rename files with the first word of file contents?
(56%)
How to add some text before each paragraph automatically?
(56%)
How to exchange the first word and second word which is separated by _ in all lines?
(52%)
Check Demo of
Advanced search and replace