Intro
On this page:
 - Regular Expressions
 - Test regular expressions here
 - Regular expressions: character quick reference

At Microsoft:
 - Regular Expressions in VBScript

In the world..:
 - http://regexlib.com/
 - 4guysfromrolla regularexpressions

Regular Expressions
^5455 ?[Bb]{1}[Dd]{1}$
A specific dutch postcode. (This one is 5455BD, change as needed.)
.+
One or more characters of any type.
^start
Sentence starting with 'start'
end$
Sentence ending with 'end'
^[&a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$
email check
^(\d{1}|1\d{1}|2\d{1}|3[01])-(\d{1}|1[012])-(\d{2}|\d{4})$
Date check pakt: d of dd , m of mm en yy of yyyy.
^[0-9]{4}\s?[a-z,A-Z]{2}$
Dutch Postalcode: '1234AA' en '1234 AA'
^\d{8}\s\d{2}:\d{2}:\d{2}:\d{3}$
MS SQL date : '20020209 12:34:55:123'
^((\d{4}-\d{4}-\d{4}-\d{4})|(\d{4} \d{4} \d{4} \d{4})|(\d{16}))$
Creditcard formats: '1234-1234-1234-1234' , '1234123412341234' and '1234 1234 1234 1234'
Test regular expressions here.
The Regular-expression inspector was created by Charity Kahn, charity@cnet.com
Copyright 1995-98 CNET, Inc. All rights reserved.

1. Type in the regular expression pattern (excluding forward slashes) that you want to search for. Select flags, if applicable (i to ignore case, g for global match, or gi for both).
Pattern: //  Flags:
2. Type in the string you want to search and click Search to see whether the string matches the pattern.
String:
3. The corresponding JavaScript code looks like this:
Literal notation:
Constructor function:
Regular expressions: character quick reference.
Select a character you want to learn about:
Character Meaning
 
Or view the complete list:
Character Meaning