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
1405.Regular expression replace -- How to delete phrase does not contain word mat in between two tabs?
User:
Dilip -- 2017-10-26
<< 1404
1406 >>
Hits:
3085
Type:
Regular expression replace
Search all
Regular expression replace
examples
Description:
Delete match does not contain word mat anywhere in between two tabs
Input Sample:
\tsmall car\t
\tsmall car on mat\t
Output Sample:
\tsmall care offer on card\t
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' dialog
* set 'replace unit ' to 'Chars', set 'replace scope' to 'Line'
* set 'search for pattern' to:
\t(.(?!mat))*\t
3. click 'replace', done.
Screenshot 1: Replace_Window
Similar Examples:
How to delete all lines that contain only a word and a blank?
(61%)
How to remove lines that contain some words base on percentages?
(56%)
How to extract all lines that contain words A and B and C?
(55%)
How to replace commas with hash symbols for lines contain more than two commas?
(53%)
How to extract all lines that contain words in a list?
(53%)
How to filter out all web pages that does not contain specified words?
(53%)
How to remove all the lines that do not contain any of words in a list?
(53%)
How to batch rename html files to the content that between a pair of h2 tags?
(53%)
Check Demo of
Regular expression replace
Keywords:
tabs
abs
phrase
two
between
replace scope
scope
not contain
how to delete
delete
delete text between
delete between
replace phrase
delete word
replace between word
two text
text between pattern
search between