Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

519.Text file parser -- How to extract all text that enclosed by html tag "strong"?

User: editor -- 2010-05-24          << 518  520 >>
Hits: 1969
Type: Text file parser   
Search all Text file parser examples
Description:
How to extract all text that enclosed by html tag "strong"?
Input Sample:
<html>
...
<body>
...
<strong>this is text 1 to extract</strong>
...
<strong>this is text 2 to extract</strong>
</body>
..
</html>
Output Sample:
<strong>this is text 1 to extract</strong>
<strong>this is text 2 to extract</strong>
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source text/html file
2. ctrl-h open 'Replace' window
* in 'search for pattern' entry, enter:

* in 'replace with pattern' entry, enter:

* uncheck option of "Print unmatched unit"
3. click "Replace", all text enclosed by <strong> and </strong> will be extracted.

Similar Examples:
How to extract all text that enclosed by <a> and <font>? (80%)
How to extract all text enclosed by H1 tag from multiple html files? (66%)
How to remove all question mark that enclosed by title tags? (63%)
How to remove all text that include variable strings? (60%)
How to extract all lines that contain words A and B and C? (59%)
How to extract text enclosed by "body" tag from many html files and join together? (58%)
How to delete or copy text that match specified pattern of html tag? (57%)
How to extract all blocks that contain specified strings like "A"? (57%)

Check Demo of Text file parser
Keywords:
how to extract all text that enclosed by html tag  strong  enclose  html tag  extracte  tag  unmatched  unmatch  print  extract all  extract strong  parser strong text  extract tag enclosed text  enclosed text search and replace  search and replace text enclosed in  extract text with html  tag html  text file parser html