indiWiz.com
SiteSearch:
Jump:

Site Map | WizTools.org | jCraze Blog
Web Developer's Den!
Home : WDD : JavaScript
This Article...
Print Version
Add Comment
View Comments
JavaScript
The Bare Facts
Rollover Script
Script Windows
Status Message
Time Sensibility of JavaScript
JavaScript and Frames
Expandable Menus
Cursor Effects!
Regular Expressions Reference
JavaScript Screen Size
JavaScript HTMLize (Using Regular Expressions)
Java Script Dynamic Time Update
Sections

Commniquè
Sign Guestbook!
Read Guestbook!
MailMe!

RE (Regular Expression) Reference

Metacharacters Used In REs

CharacterDescription
.Matches any single character except a newline.
*Matches zero or more occurences of the character immediately preceding it.
?Match any character one time, if it exists.
+Match declared element one or more times.
{n}Match declared element one or more times.
{n,}Match declared element at least n times.
{n,N}Match declared element at least n times, but not more than N times.
\bMatch at the beginning or end of a word.
\BMatch in the middle of a word.
[chars]Matches any one of the characters given in chars, where chars is a sequence of characters. You can use - character to indicate a range of characters.
[^chars]One occurance of any character that is not specified by chars is matched.
^Matches the beginning of the line.
$Matches the end of a line.
\Treats the character that immediately follows the \ literally. This is used to specify patterns that contain one of the preceding wildcards.
(pattern1 | pattern2)Matches pattern1 or pattern2.
\sMatch one space character.

User Comments

Add Comment

[Quick Stats: Number of main threads: 0, Number of sub-threads: 0]

Sign Guestbook | Who is Subhash?
The contents of this site are copyright© 2000-2008, indiWiz.com. All Rights Reserved.