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
267.Advanced search and replace -- How to remove/delete all lines with three symbol '='?
User:
editor -- 2008-09-15
<< 266
268 >>
Hits:
3370
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
How to remove all lines with three symbol '='?
Input Sample:
line1=word1=word2
line2=word1=word2=word3
line3=word1
line4=word1=word2
Output Sample:
line1=word1=word2
line3=word1
line4=word1=word2
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open source text file
2. ctrl-h open "Replace" dialog
set "Replace Unit" to "Line"
set "If" to:
count($match,"=")==3
3. click "Replace", done!
Download Script:
scripts/267.rst.zip
Screenshot 1: Replace_Window
Similar Examples:
How to remove/delete all lines with even line number?
(75%)
How to remove/delete all lines with even line number?
(75%)
How to remove/delete all blank lines in a text file?
(70%)
How to remove/delete all lines containing '123456'?
(69%)
How to remove/delete all symbols in a text file?
(67%)
How to delete all the lines with the '*' char?
(64%)
How to remove/delete extra blank lines in multiple text files?
(63%)
How to remove/delete all lines ending by a comma(,) in a text file?
(62%)
Check Demo of
Advanced search and replace
Keywords:
logs
toc
symbol
delete all lines
sym
remove all lines
delete all
remove all line
count
delete
remove all symbol
replace symbol
remove lines all
remove lines with
remove lines
remove all text
remove with
remove text