Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1344.Advanced search and replace -- How to remove all hyphens after the first tab in each line?

User: Dilip -- 2016-02-16          << 1343  1345 >>
Hits: 1294
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
In a tab separated files, replace all hyphens after the tab with nothing in a  
tab separated file
Input Sample:
audi audi-09-01 
audi-1 audi 09 01
Output Sample:
audi audi0901 
audi-1 audi 09 01
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' dialogue 
* set 'replace unit' to 'chars'(default) 
* set 'replace scope' to 'Lines' 
* set 'search for pattern' to: 
 
* set 'replace with pattern' to: 
 
3. click 'replace', done.

Screenshot 1:  Replace_Window


Similar Examples:
How to remove everything after the first comma in each line in a text file? (68%)
How to remove everything before first space in each line? (67%)
How to remove the text from line start to the first ":" in each line? (67%)
How to delete all text after the second comma in each line? (67%)
How to replace all lines before first blank line? (62%)
How to remove everything after the second specified keywords in each line? (62%)
How to remove everything from start of line to the first comma in each line? (62%)
How to remove every other characters on each line of text? (61%)

Check Demo of Advanced search and replace
Keywords:
hyphen  separate  after  replace scope  scope  para  remove all  tab  chars  the first  remove first chars  ctrl h remove text after  remove text after  remove chars each line  set default  remove after  replace all text after  remove the first line