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:
418
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 remove/delete all lines ending by a comma(,) in a text file?
(62%)
How to remove/delete all multi-byte characters in a text file?
(61%)
How to remove/delete lines of csv file with column C containing 'CCC'?
(60%)
Check Demo of
Advanced search and replace
Keywords:
symbol
toc
sym
delete all lines
remove all line
count
dele
delete
delet
del
remove all symbol
remove lines all
remove lines
remove all text
remove text
remove and replace
search and replace open source
search and replace text