{x} Match zero or more times {x}+ Match one or more times {x}n:m Match between n & m times [x] Optional (x) Group things together x|x OR x x AND ~ NOT @x Set a mark (x=0..9) &xx A byte (also &xxxx and &xxxxxxxx) &xx AND with xx, and compare with yy < True if at start of line > True if at end of line << True if at start of paragraph >> True if at end of paragraph <<< True if at start of text >>> True if at end of text NL, $ Matches newline \# Any digit ? Any alpha * wildcard within line ** wildcard crossing lineI wanted to hilight these thus:.
So I used
Search: | {'\x20-\xff'}1:6@01$ |
Replace: | "<span class=\"mt\">"@01"</span> - " |
{'\x20-\xff'} is a class including all characters from hex 20 (the Space character) to hex FF.
1:6 defines between 1 and 6 characters.
The @1 marker enables me to replace the line, omitting the (end of line character.
I ticked Start of line and Engine: Advanced
And the result was
<span class="mt">{x}</span> - Match zero or more times <span class="mt">{x}+</span> - Match one or more times <span class="mt">{x}n:m</span> - Match between n & m times <span class="mt">[x]</span> - Optional <span class="mt">(x)</span> - Group things together <span class="mt">x|x</span> - OR <span class="mt">x x</span> - AND <span class="mt">~</span> - NOT <span class="mt">@x</span> - Set a mark (x=0..9) <span class="mt">&xx</span> - A byte (also &xxxx and &xxxxxxxx) <span class="mt">&xx</span> - AND with xx, and compare with yy <span class="mt"><</span> - True if at start of line <span class="mt">></span> - True if at end of line <span class="mt"><<</span> - True if at start of paragraph <span class="mt">>></span> - True if at end of paragraph <span class="mt"><<<</span> - True if at start of text <span class="mt">>>></span> - True if at end of text <span class="mt">NL, $</span> - Matches newline <span class="mt">\#</span> - Any digit <span class="mt">?</span> - Any alpha <span class="mt">*</span> - wildcard within line <span class="mt">**</span> - wildcard crossing line
Was this page helpful? Please email me and/or rate this page: