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
951.Advanced search and replace -- How to remove any word that does not contain character @?
User:
editor -- 2012-05-23
<< 950
952 >>
Hits:
3233
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
How to remove any word that does not contain the following character ---> @
Input Sample:
test test1@aaa.com
test2@bbb.com
test2
Output Sample:
test1@aaa.com
test2@bbb.com
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' dialogue
* set 'replace unit' to word
* set 'search for pattern' to:
![@]
* check 'Enhanced Regular Exp' option
3. click 'replace', done.
Note: since in 'replace pioneer', @ means 'ignore cases' when it appears at the end of string, so you should enclose @ with a pair of braket.
Screenshot 1: Replace_Window
Similar Examples:
How to remove all the lines that do not contain any of words in a list?
(65%)
How to remove all lines that shorter than 10 characters?
(64%)
How to remove all lines that contain ABC but not contain DEF in text file?
(59%)
How to remove phrases not containing any dictionary word?
(58%)
How to filter out all web pages that does not contain specified words?
(58%)
How to replace line that contains no space?
(56%)
How to extract all english words that preceded by multi-byte characters?
(56%)
How to remove all folders in a list containg folders and files?
(56%)
Check Demo of
Advanced search and replace
Keywords:
enclose
ignore case
ignore
any word
case
string
not contain
character
end of
replace pioneer
replace pioneer remove string
remove string
remove a string
replace pioneer replace string
replace pioneer string
remove not contain
remove end with
pioneer word search