: 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: 1073
119.2 .
To match an optional character or sequence, use the question mark quantifier (?).
Hits: 1149
119.3 .
Quantifiers
Hits: 1176
119.4 .
invert a character class by using a caret (^) immediately after the open bracket ([).
Hits: 1128
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: 1089
119.6 .
To escape a character, simply preface it with a backslash (\). This goes for the backslash character as well.
Hits: 1098
119.7 .
String Methods and Regular Expressions
Hits: 1108
119.8 .
RegExp("(A|BC)* *(A);*(B)* *(C)* *(A|B|C)*", "i")
Hits: 1157
119.9 .
Use the exec() method.
Hits: 1148
119.10 .
To know whether at least one match exists.
Hits: 1224
119.11 .
Matching Using a Regular Expression Object
Hits: 1102
119.12 .
Regular expression /\w/ is created in ActionScript
Hits: 1127
119.13 .
To flag it to match globally and multiline, the following will work
Hits: 1137
119.14 .
Case-insensitive, you can add the i flag
Hits: 1219
119.15 .
Creating a Regular Expression Object
Hits: 1136
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