Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

292.Advanced search and replace -- How to search the "?" and remove/delete the text to the right of the "?"

User: editor -- 2008-11-05          << 291  293 >>
Hits: 1924
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to search the "?" and remove the text to the right of the "?"
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source file  
2. ctrl-h open 'Replace' dialog  
in 'Replace' page  
* set 'Replace Unit' to 'Chars' 
* set 'Replace Scope' to 'Line' 
* set 'Search for pattern' to: 
 
* set 'Replace with pattern' to: 
 
3. click 'Replace' button, all characters after the '?' will be removed in each line. 
Download Script:  scripts/292.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to batch remove/delete non-fixed text in a text file? (64%)
How to remove/delete the text from the '#' to the end in each line? (60%)
How to batch remove/delete lines started by "address:"? (56%)
How to batch remove/delete first 500 bytes of many binary files? (55%)
How to remove/delete all symbols in a text file? (55%)
How to remove/delete all text between '1:' and 'user:'? (55%)
How to batch remove/delete first and last line of many text files? (54%)
How to batch remove/delete the 5,6,7 characters of many filenames? (54%)

Check Demo of Advanced search and replace
Keywords:
all characters  after  right  replace scope  scope  characters  delete  delet  dele  chars  remove text after  remove after  replace all text after  after each line  remove characters  remove each line  replace text after  after text