| User: editor -- 2011-06-16 << 799 801 >> |
| Hits: 315 |
| Type: Text file parser |
| Search all Text file parser examples |
| Description: |
| How to extract all function name and sub name from VBA script file? |
| Input Sample: |
| Sub subroutine1() body of subroutine1 ... ... Function function1() body of function1 ... ... |
| Output Sample: |
| Sub subroutine1() Function function1() |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open source VBA text file 2. ctrl-h open 'replace' dialog * set 'replace unit' to 'Line' * set 'search for pattern' to: * set 'replace with pattern' to: * check option of 'Ignore cases', uncheck option of 'Print unmatched unit' 3. click 'Replace', done. For multiple file, ingore step1, and click 'Batch...' button in step 3, and drag multiple files to 'Batch Runner' window, and click 'Batch Replace'. |
Screenshot 1: Replace_Window |
Similar Examples: |
| How to extract all function names from a perl program? (67%) How to extract all telephone numbers from a text file? (65%) How to extract all html address from a text file? (62%) How to extract all image links from a html file? (62%) How to extract all IP address from a text file? (61%) How to extract all distinct parent folder names from a list of files? (59%) How to extract all lines with numbers from many text files? (59%) How to extract all upper cases words from a text file? (57%) |
Check Demo of Text file parser |
| Keywords: |
| vba functions scrip script scr ignore sub function case unmatched extract function parser replace unit script replace script search and replace text files parser extract text from multiple files extract from multiple text files extract multiple extract file name in text file |