Basic HTML version of Foils prepared 3 March 99

Foil 68 Regular Expressions -- Special Characters

From Overview of JavaScript I -- Basic Web Scripting Language CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)


1 [\b] backspace
2 \b Word Boundary
3 \B NOT a Word Boundary
4 \cC Control Character C
5 \d Matches a digit
6 \f Form Feed
7 \D Matches a NON digit
8 \n New Line
9 \s White Space \f\n\r\t\v
10 \r Carriage Return
11 \S Not a White Space
12 \t tab
13 \v vertical tab
14 \w Any word Character
15 \W Not a word Character
16 \\ Backslash itself
17 \n (n integer) nth () selected as in $n
18 \ooctal Char with this octal rep
19 \xhex Char with this hex rep
20 . Anything

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Mar 3 1999