EmEditor (text editor) Forum Index Regular Expressions
How to clean unclosed HTML TAG ? | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| Stefan | Posted on: 11/14/2012 9:29 pm |
Home away from home ![]() ![]() Joined: 7/14/2008 From: Germany, EU Posts: 263 |
Re: How to clean unclosed HTML TAG ? .
* open EmEditor * * open a new document * paste the script in * save as e.g. Untitled.txt * click at "Macros > Select This" * * open your source document * put your cursor in ONE line * execute "Macro > Run Untitled.txt" * you should be prompted with "delete/all ok/nothing found" depending on the line content * * check for each line if the script works for you * if yes, the next step is to build a loop over all lines and at last exchange the "delete" message with an find&delete code Here the proof of concept code again but with comments: |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| |
liloli | 11/13/2012 4:49 pm |
| |
Stefan | 11/13/2012 9:52 pm |
| |
liloli | 11/14/2012 3:48 pm |
| » |
Stefan | 11/14/2012 9:29 pm |
| |
liloli | 11/17/2012 3:34 pm |
| |
Stefan | 11/18/2012 2:32 am |
| |
liloli | 11/18/2012 4:06 pm |
| |
Yutaka | 11/18/2012 4:41 pm |
| |
liloli | 11/18/2012 6:20 pm |
| Register To Post | |


