Using Special Characters

You can process binary characters, line feeds, tabs, etc by using the Binary Mode dialog, which is available via the Search & Replace b path4 Special Characters buttons next to the Search and Replace String fields in the main window and the Script Editor.

Some frequently used special characters include:

  • \r\n – DOS linefeed sequence

  • \r – MAC linefeed sequence

  • \n – UNIX linefeed sequence

  • \t – TAB character

Notes:

  • Literal \ characters MUST be doubled as \\ to denote the literal.

  • The Binary Mode dialog can also be used with Regular Expressions.

  • For multi-line operations where you are not concerned with CR LF’s or Tab’s per se, consider using the *[] regular expression search operator.

  • The x?? style terms are based on Hex values, not Decimal. If you are familiar with the standard ASCII chart, go by the Hex values.

  • It is OK to use the x?? style even if a character has a standard alphanumeric representation. For example, the capital A character is hex 41 or x41 using the Search and Replace style.

Here is the list of Special characters. The x?? Style column is included for those who have a need to use hex values instead of the standard characters.

Character Codes

 

 

 

 

 

 

 

Code

Explanation

x?? Style

 

Code

Explanation

x?? Style

x00

Character 0

x00

 

x7f

Character 127

0x7f

x01

Character 1

x01

 

x80

Character 128

x80

x02

Character 2

x02

 

x81

Character 129

x81

x03

Character 3

x03

 

x82

Character 130

x82

x04

Character 4

x04

 

x83

Character 131

x83

x05

Character 5

x05

 

x84

Character 132

x84

x06

Character 6

x06

 

x85

Character 133

x85

\a

ASCII Bell

x07

 

x86

Character 134

x86

\b

ASCII Backspace

x08

 

x87

Character 135

x87

\t

TAB

x09

 

x88

Character 136

x88

\n

Line Feed (1)

x0a

 

x89

Character 137

x89

\v

Vertical TAB

x0b

 

x8a

Character 138

x8a

\f

Form Feed

x0c

 

x8b

Character 139

x8b

\r

Carriage Return (1)

x0d

 

x8c

Character 140

x8c

x0e

Character 14

x0e

 

x8d

Character 141

x8d

x0f

Character 15

x0f

 

x8e

Character 142

x8e

x10

Character 16

x10

 

x8f

Character 143

x8f

x11

Character 17

x11

 

x90

Character 144

x90

x12

Character 18

x12

 

x91

Character 145

x91

x13

Character 19

x13

 

x92

Character 146

x92

x14

Character 20

x14

 

x93

Character 147

x93

x15

Character 21

x15

 

x94

Character 148

x94

x16

Character 22

x16

 

x95

Character 149

x95

x17

Character 23

x17

 

x96

Character 150

x96

x18

Character 24

x18

 

x97

Character 151

x97

x19

Character 25

x19

 

x98

Character 152

x98

x1a

Character 26

x1a

 

x99

Character 153

x99

x1b

Character 27 (ESC)

x1b

 

x9a

Character 154

x9a

x1c

Character 28

x1c

 

x9b

Character 155

x9b

x1d

Character 29

x1d

 

x9c

Character 156

x9c

x1e

Character 30

x1e

 

x9d

Character 157

x9d

x1f

Character 31

x1f

 

x9e

Character 158

x9e

(space)

x20

 

x9f

Character 159

x9f

!

!

x21

 

xa0

Character 160

xa0

\”

x22

 

xa1

Character 161

xa1

#

#

x23

 

xa2

¢

xa2

$

$

x24

 

xa3

£

xa3

%

%

x25

 

xa4

¤

xa4

&

&

x26

 

xa5

¥

xa5

\’

x27

 

xa6

¦

xa6

(

(

x28

 

xa7

§

xa7

)

)

x29

 

xa8

¨

xa8

*

*

x2a

 

xa9

©

xa9

+

+

x2b

 

xaa

ª

xaa

,

,

x2c

 

xab

«

xab

-

-

x2d

 

xac

¬

xac

.

.

x2e

 

xad

­

xad

/

/

x2f

 

xae

®

xae

0

0

x30

 

xaf

¯

xaf

1

1

x31

 

xb0

°

xb0

2

2

x32

 

xb1

±

xb1

3

3

x33

 

xb2

²

xb2

4

4

x34

 

xb3

³

xb3

5

5

x35

 

xb4

´

xb4

6

6

x36

 

xb5

µ

xb5

7

7

x37

 

xb6

xb6

8

8

x38

 

xb7

·

xb7

9

9

x39

 

xb8

¸

xb8

:

:

x3a

 

xb9

¹

xb9

;

;

x3b

 

xba

º

xba

<

<

x3c

 

xbb

»

xbb

=

=

x3d

 

xbc

¼

xbc

>

>

x3e

 

xbd

½

xbd

\?

?

x3f

 

xbe

¾

xbe

@

@

x40

 

xbf

¿

xbf

A

A

x41

 

À

À

xc0

B

B

x42

 

Á

Á

xc1

C

C

x43

 

Â

Â

xc2

D

D

x44

 

Ã

Ã

xc3

E

E

x45

 

Ä

Ä

xc4

F

F

x46

 

Å

Å

xc5

G

G

x47

 

Æ

Æ

xc6

H

H

x48

 

Ç

Ç

xc7

I

I

x49

 

È

È

xc8

J

J

x4a

 

É

É

xc9

K

K

x4b

 

Ê

Ê

xca

L

L

x4c

 

Ë

Ë

xcb

M

M

x4d

 

Ì

Ì

xcc

N

N

x4e

 

Í

Í

xcd

O

O

x4f

 

Î

Î

xce

P

P

x50

 

Ï

Ï

xcf

Q

Q

x51

 

Ð

Ð

xd0

R

R

x52

 

Ñ

Ñ

xd1

S

S

x53

 

Ò

Ò

xd2

T

T

x54

 

Ó

Ó

xd3

U

U

x55

 

Ô

Ô

xd4

V

V

x56

 

Õ

Õ

xd5

W

W

x57

 

Ö

Ö

xd6

X

X

x58

 

\xd7

Character 215

xd7

Y

Y

x59

 

Ø

Ø

xd8

Z

Z

x5a

 

Ù

Ù

xd9

[

[

x5b

 

Ú

Ú

xda

\\

\

x5c

 

Û

Û

xdb

]

]

x5d

 

Ü

Ü

xdc

^

^

x5e

 

Ý

Ý

xdd

_

_

x5f

 

Þ

Þ

xde

`

`

x60

 

ß

ß

xdf

a

a

x61

 

à

à

xe0

b

b

x62

 

á

á

xe1

c

c

x63

 

â

â

xe2

d

d

x64

 

ã

ã

xe3

e

e

x65

 

ä

ä

xe4

f

f

x66

 

å

å

xe5

g

g

x67

 

æ

æ

xe6

h

h

x68

 

ç

ç

xe7

I

I

x69

 

è

è

xe8

j

j

x6a

 

é

é

xe9

k

k

x6b

 

ê

ê

xea

l

l

x6c

 

ë

ë

xeb

m

m

x6d

 

ì

ì

xec

n

n

x6e

 

í

í

xed

o

o

x6f

 

î

î

xee

p

p

x70

 

ï

ï

xef

q

q

x71

 

ð

ð

xf0

r

r

x72

 

ñ

ñ

xf1

s

s

x73

 

ò

ò

xf2

t

t

x74

 

ó

ó

xf3

u

u

x75

 

ô

ô

xf4

v

v

x76

 

õ

õ

xf5

w

w

x77

 

ö

ö

xf6

x

x

x78

 

0xf7

Character 247

xf7

y

y

x79

 

ø

ø

xf8

z

z

x7a

 

ù

ù

xf9

{

{

x7b

 

ú

ú

xfa

|

|

x7c

 

û

û

xfb

}

}

x7d

 

ü

ü

xfc

~

~

x7e

 

ý

ý

xfd

 

 

 

 

þ

þ

xfe

 

 

 

 

ÿ

ÿ

xff

Special Characters