to.. ELA Web Portal | to.. jEdit Notes | to.. ELA Notes |
Search | Characters | Replace | Characters |
---|---|---|---|
((<br />)+)\n<!\s*(\*)+> |
<br /> <! *******************> | <!*******************>$1 | <!*******************><br /> |
<p />\n<!\s*(\*)+> |
<p /> <! *******************> | \n<!*****************><br /><br /> | <!*******************><br /><br /> |
<!([^-]{2,2})([^>]+)> | <!text> | <!--$1$2--> | <!-- text --> |
<font color=\"(\w) | <font color="aNumrc | <font color=\"#$1 | <font color="#aNumrc |
<img src="([^/,>]+)> | <img src="text"> | <img src="$1 /> | <img src="text" /> |
\n\n<br /><a |
<br /><a | <br />\n\n<a |
<br /> <a |
</a>\s*(\w|\() |
</a> a OR ( | </a> $1 | </a> a |
</a>\n<li \/> |
</a> <li /> | </a><br />\n• |
</a> |
([a-z])\n([a-z]) |
a b | $1 $2 | a b |
([a-zA-Z0-9,=])&([a-zA-Z0-9,=]) | a&b | $1&$2 | a&b |
& | & | & | & |
([a-z])\s+</a> | a </a> | $1</a> | a</a> |
:\s*(\w) |
: a | : $1 | : a |
™ | | ™ | ™ |
“ | | " | " |
º(\w) | ºa | º $1 | º a |
<br />• | <br /> | <br />\n• |
<br /> |
•(\w) | •a | • $1 | • a |
• | • | • | • |
<a HREF= | <a HREF= | <a href= | <a href= |
No original content.\"\) /> | No original content.") /> | No original content." /> | No original content." /> |
& | & | & | & |
Table 1 - Special Sequences | ||
Sequence | Classs Equivalence | Matches | \d | [ 0-9 ] | any decimal digits | \D | [ ^0-9 ] | any non-digit character | \s | [ \t\n\r\f\v ] | any whitespace character | \S | [ ^ \t\n\r\f\v ] | any non-whitespace character | \w | [ a-zA-Z0-9_ ] | any alphanumeric character | \W | [ ^a-zA-Z0-9_ ] | any non-alphanumeric character |
Table 2 - Escape Sequences | |
\b | backspace |
\f | form feed |
\n | newline |
\r | carriage return |
\t | horizontal tab |
\" | double quote |
\' | single quote |
\\ | backslash |
\xxx | character, in octal (000-377) |
\uxxxx | Unicode character, in hexadecimal (0000-FFFF) |
Table 3 - Positional Operators | |
^ | matches at the beginning of a line1 |
$ | matches at the end of a line2 |
\A | matches the start of the entire string |
\Z | matches the end of the entire string |
\b | matches at a word break *Perl5 syntax only |
\B | matches at a non-word break (opposite of \b) *Perl5 syntax only |
\< | matches at the start of a word *egrep syntax only |
\> | matches at the end of a word *egrep syntax only |