Special characters

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Special characters

Post by gcotterl »

How can I find/replace these characters?

:
}
,
^
*
(
_
]
\
{
'
)
+
{
;
|
"
<
?
>
.
/
~
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Do you mean when searching with regular expressions?

These characters are not special in regular expressions and can be used literally:

Code: Select all

:
,
_
'
;
"
<
>
/
~
These characters are special in regular expressions and (in most cases) must be quoted, either by prefixing them with a backslash (\) or by turning them into a character class by enclosing them in square brackets ([..]).:

Code: Select all

$
?
*
+
(
)
[
]
{
}
|
.
These characters are special in regular expressions and must be quoted by prefixing them with a backslash (\) whether or not they are in a character class:

Code: Select all

^
\
Post Reply