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
41.Advanced search and replace -- Replace first char of each line to upper case
User:
sysdemo -- 2007-11-24
42 >>
Hits:
4255
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
Replace first char of each line to upper case
Input Sample:
this is 1st line
this is 2nd line
this is 3rd line
this is 4th line
Output Sample:
This is 1st line
This is 2nd line
This is 3rd line
This is 4th line
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open file
2. ctrl-h open replace dialog:
1) set 'Replace unit' to chars
2) set 'Replace scope' to line
3) set 'Replace with pattern':
ucfirst($match)
3. Click 'Replace'
Screenshot 1: Replace_Window
Similar Examples:
How to delete the first word in each line in a text file?
(64%)
How to remove first number in each line for multiple files?
(62%)
How to remove the first 10 characters of each line in text file?
(62%)
How to replace the first 3 spaces into comma in each line of text?
(61%)
How to replace the first 3 characters of each line to fixed characters and add 'a' at the end?
(61%)
How to replace specific spaces into comma in each line of text file?
(60%)
How to replace each xxx with the first word in the same line in text file?
(56%)
How to replace the second character of every line to 4 in multiple files?
(56%)
Check Demo of
Advanced search and replace
Keywords:
ucfirst
upper
upper case
replace first char
case
replace scope
scope
chars
replace first
first
upper case line
replace upper
search and replace first
first replace line
replace first line
first line
replace char
line of