CS451 Selected Lecture Notes
This is one big WEB page, used for printing
Note that this file is plain text and .gif files. The plain text spells
out Greek letters because they can not be typed.
These are not intended to be complete lecture notes.
Complicated figures or tables or formulas are included [...]
Tags: Algorithm, PHP, Regular Experesion, Regular expression tutorial
Regular Expression Basic Syntax Reference
Characters
Character
Description
Example
Any character except [\^$.|?*+()
All characters except the listed special characters match a single instance of themselves. { and } are literal characters, unless they're part of a valid regular expression token (e.g. the {n} quantifier).
a matches a
\ (backslash) followed by any of [\^$.|?*+(){}
A backslash escapes special characters to suppress their [...]
Tags: learn regular expression, Regular Experesion, Regular expression tutorial