indiWiz.com
SiteSearch:
Jump:

Site Map | WizTools.org | jCraze Blog
Web Developer's Den!
Home : WDD : ServerSide
This Article...
Print Version
Add Comment
View Comments
ServerSide
Apache on Linux
Apache User Directory Configuration
PostgreSQL Configuration
CGI: What and How?
PHP Jump Start Guide
Arrays in PHP
PHP and HTML Forms
Variable Passing in PHP
PHP 'include'
Drop-down Menu Navigation in PHP
Edit Your Site Online Using PHP
PHP MySQL Polling System
Dynamic, Search Engine Friendly Pages
Quot Ticker Using SSI
Regular Expressions Reference
PHP File Browser
PHP DB Deletion/Approval Script
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.