Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
JavaScript Tutorial
Regular Expressions 48 codes
Home
JavaScript Tutorial
Regular Expressions
1 All the characters that require a backslash character to be taken literally within a pattern
2 Bad word filter
3 Checking an email address - Version 01
4 Checking an email address - Version 02
5 Defining Patterns
6 Match
7 Matching a 16 digit credit card number separated by a single space
8 Matching a 16 digit credit card number with variable number of space characters
9 Matching a single literal character(It can be either a lower or upper case character)
10 Matching sequences of more than one literal character (The format is two upper case letters, a dash and three numbers)
11 Pattern Attributes
12 Pattern Matching
13 RegExp $ (5)
14 RegExp $& (2)
15 RegExp $` (4)
16 RegExp $+ (6)
17 RegExp $1,$2, $9
18 RegExp compile()
19 RegExp exec()
20 RegExp global
21 RegExp ignoreCase
22 RegExp input
23 RegExp lastIndex
24 RegExp lastMatch
25 RegExp lastParen
26 RegExp leftContext
27 RegExp multiline
28 RegExp rightContext
29 RegExp source
30 RegExp test()
31 RegExp()
32 RegExp,$ (1)
33 RegExp,$_ (3)
34 Regular Expression Tester Form
35 Regular Expressions
36 Strip HTML
37 Testing for Pattern Matches
38 The pattern matching methods in the RegExp object require String objects
39 To match b{0,1}rea{0,1}d
40 To match words bread, read, or red
41 Trim the leading and trailing spaces
42 Use regular expression to remove bad words
43 Use Regular Expression to validate date
44 Use Regular expression to validate the Email
45 Use regular expression to validate the URL
46 Validate MasterCard
47 Validate the Date
48 Validate Visa number