Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(?s)(?:\e\[(?:(\d+);?)*([A-Za-z])(.*?))(?=\e\[|\z)
|
Description |
This expression will match all of the commands(escape codes) used in ANSI files. These are what were used to create the colors/blocks on BBS's for those of us that once dialed into them.
http://www.wikipedia.org/wiki/ANSI_escape_code has a reference for ANSI escape codes.
http://idledreams.net/lordscarlet/posts/153.aspx shows an example of the engine I have created surrounding the expression
|
Matches |
[32mHello | [1;35mTest | [2J
|
Non-Matches |
abc
|
Author |
Rating:
Not yet rated.
Doug Moore
|
Displaying page
of
pages;
Items to