| User: bruce lee -- 2011-09-15 << 854 856 >> |
| Hits: 3246 |
| Type: Text file parser |
| Search all Text file parser examples |
| Description: |
| how to extract the hyperlink with word "about"? |
| Input Sample: |
| <TD align=middle height=25><A href="show.asp?id=2" target=_self class="top">About us</A></TD> |
| Output Sample: |
| show.asp?id=2 |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open html file 2. ctrl-h open 'replace' dialog * set 'search for pattern' to: * set 'replace with pattern' to: * check option of "ignore cases" * uncheck option of "print unmatched unit" 3. click 'replace', the specified link "show.asp?id=2" will be extracted. Note: if you use "Fast Replace" function: you should set "search": "replace": check option of "ignore cases", "reg exp", "cross line" and "extract" |
Screenshot 1: Replace_Window |
Screenshot 2: Fast_Replace_Window |