|
| |
TextPipe allows you to embed control characters in search and replace
strings, line prefixes and user-defined replacement strings. All fields that support entering unprintable characters in this manner have a
"context" or right-click menu that allows them to be entered without
remembering the exact code.
E.g. To search for "hello" followed by a tab followed by "there"
followed by a DOS end of line, enter the search string as
hello\tthere\r\n
where \t is the code for a Tab (see Standard ASCII
codes).
Other Special Codes
| Code |
ASCII value |
Description |
| \a |
7 |
Bell |
| \b |
8 |
Backspace |
| \cC |
|
Control character. ie \cA inserts a Ctrl+A, \cM inserts a
Ctrl+M |
| \t |
9 |
Horizontal tab |
| \n |
10 |
Line feed |
| \v |
11 |
Vertical tab. You can also use \x0b, perl patterns do NOT
support \v |
| \f |
12 |
Form feed |
| \r |
13 |
Carriage return |
| \e |
27 |
Escape |
| \xXX |
Any |
Any character code, specified in hex. The XX is replaced by the character's
2 digit hex code |
| \x{ .. } |
Any |
Any sequence of character codes, specified in hex. This can
be very handy for specifying unicode code sequences, such as \x00000020 for
a unicode space character, instead of \x00\x00\x00\x20. To enter a
two-byte number, use \x{0020}. For 3 bytes, use \x{000020}. For 4 bytes use
\x{00000020}. |
See also
Macros
|