Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1438.Advanced search and replace -- How to extract specified text from pdf files?

User: arron -- 2019-06-24          << 1437  1439 >>
Hits: 1968
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
there is a PDF version annual report in Chinese, I want to extract all the sentence which contain "服务"(specific Chinese words).
Input Sample:
2018年,我国发展面临多年少有的国内外复杂严峻形势,外有中美国际贸易摩擦,内有实体经济下行压力。受宏观经济形势影响,2018年国内机床行业市场规模继续萎缩。在这样的大背景下,机床行业分化更加明显,践行智能制造理念、提供完整及优质的工业服务的重要性突显。
Output Sample:
在这样的大背景下,机床行业分化更加明显,践行智能制造理念、提供完整及优质的工业服务的重要性突显。
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. Open Tool->Batch Runner window, drag pdf files from windows file manager to "batch runner" window, and click DOC/PDF convert. 
If this step fail, try to convert it with PDF reader. 
2. ctrl-o open converted txt file 
3. ctrl-h open 'replace' dialog 
* set 'search for pattern' to: 
 
* set 'replace with pattern' to: 
 
* uncheck 'print unmatched units' option 
4. click 'replace', done. 
5. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to batch extract specified lines from a text file? (75%)
How to extract specified text followed by 8 digits from text file? (73%)
How to extract all specified links from a html file? (72%)
How to extarct specified pattern by conditions? (71%)
How to extract all specified date format from a text file? (71%)
How to extract specified lines in multiple excel(csv) files? (67%)
How to extract all lines with specified date range from text file? (67%)
How to exract specified strings started with www from text file? (67%)

Check Demo of Advanced search and replace
Keywords:
chinese  fail  report  pdf file  pdf  chin  sentence  specific  doc  unmatched  extract from pdf  extract text from pdf  batch extract text pdf  batch report  extract specific  extract sentence from files  extract specific text  replace words in a sentence