: RegExp : Regular Expressions Flash / Flex / ActionScript examples
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
Flash / Flex / ActionScript examples
»
Regular Expressions
»
RegExp
»
119.1 .
(*) quantifier matches zero or more times
Hits: 1060
119.2 .
To match an optional character or sequence, use the question mark quantifier (?).
Hits: 1134
119.3 .
Quantifiers
Hits: 1159
119.4 .
invert a character class by using a caret (^) immediately after the open bracket ([).
Hits: 1119
119.5 .
Use ranges with the dash character (-), and you can have multiple ranges in one character class, as well as combine ranges with single characters
Hits: 1074
119.6 .
To escape a character, simply preface it with a backslash (\). This goes for the backslash character as well.
Hits: 1086
119.7 .
String Methods and Regular Expressions
Hits: 1095
119.8 .
RegExp("(A|BC)* *(A);*(B)* *(C)* *(A|B|C)*", "i")
Hits: 1142
119.9 .
Use the exec() method.
Hits: 1137
119.10 .
To know whether at least one match exists.
Hits: 1213
119.11 .
Matching Using a Regular Expression Object
Hits: 1089
119.12 .
Regular expression /\w/ is created in ActionScript
Hits: 1116
119.13 .
To flag it to match globally and multiline, the following will work
Hits: 1123
119.14 .
Case-insensitive, you can add the i flag
Hits: 1206
119.15 .
Creating a Regular Expression Object
Hits: 1122
Flash / Flex / ActionScript examples
Regular Expressions
»
RegExp
Email Address
LastIndex
Match
Phone Number
RegExp
Animation
Array
Class
Data Type
Development
Function
Graphics
Language
Network
Regular Expressions
Statement
String
TextField
XML