My shared items

 

Tuesday, August 7, 2007

RegExLib.com Regular Expression Cheat Sheet (.NET Framework)

RegExLib.com Regular Expression Cheat Sheet (.NET Framework): "RegExLib.com Regular Expression Cheat Sheet (.NET)"

RegExLib.com Regular Expression Cheat Sheet (.NET)

Metacharacters Defined
MCharDefinition
^Start of a string.
$End of a string.
.Any character (except \n newline)
|Alternation.
{...}Explicit quantifier notation.
[...]Explicit set of characters to match.
(...)Logical grouping of part of an expression.
*0 or more of previous expression.
+1 or more of previous expression.
?0 or 1 of previous expression; also forces minimal matching when an expression might match several strings within a search string.
\Preceding one of the above, it makes it a literal instead of a special character. Preceding a special matching character, see below.
Metacharacter Examples
PatternSample Matches
^abcabc, abcdefg, abc123, ...
abc$abc, endsinabc, 123abc, ...
a.cabc, aac, acc, adc, aec, ...
bill|tedted, bill
ab{2}cabbc
a[bB]cabc, aBc
(abc){2}abcabc
ab*cac, abc, abbc, abbbc, ...
ab+cabc, abbc, abbbc, ...
ab?cac, abc
a\sca c
Character Escapes http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconcharacterescapes.asp
Escaped CharDescription
ordinary charactersCharacters other than . $ ^ { [ ( | ) ] } * + ? \ match themselves.
\aMatches a bell (alarm) \u0007.
\bMatches a backspace \u0008 if in a []; otherwise matches a word boundary (between \w and \W characters).
\tMatches a tab \u0009.
\rMatches a carriage return \u000D.
\vMatches a vertical tab \u000B.
\fMatches a form feed \u000C.
\nMatches a new line \u000A.
\eMatches an escape \u001B.
\040Matches an ASCII character as octal (up to three digits); numbers with no leading zero are backreferences if they have only one digit or if they correspond to a capturing group number. (For more information, see Backreferences.) For example, the character \040 represents a space.
\x20Matches an ASCII character using hexadecimal representation (exactly two digits).
\cCMatches an ASCII control character; for example \cC is control-C.
\u0020Matches a Unicode character using a hexadecimal representation (exactly four digits).
\*When followed by a character that is not recognized as an escaped character, matches that character. For example, \* is the same as \x2A.
Character Classes http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconcharacterclasses.asp
Char ClassDescription
.Matches any character except \n. If modified by the Singleline option, a period character matches any character. For more information, see Regular Expression Options.
[aeiou]Matches any single character included in the specified set of characters.
[^aeiou]Matches any single character not in the specified set of characters.
[0-9a-fA-F]Use of a hyphen (–) allows specification of contiguous character ranges.
\p{name}Matches any character in the named character class specified by {name}. Supported names are Unicode groups and block ranges. For example, Ll, Nd, Z, IsGreek, IsBoxDrawing.
\P{name}Matches text not included in groups and block ranges specified in {name}.
\wMatches any word character. Equivalent to the Unicode character categories [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}]. If ECMAScript-compliant behavior is specified with the ECMAScript option, \w is equivalent to [a-zA-Z_0-9].
\WMatches any nonword character. Equivalent to the Unicode categories [^\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}]. If ECMAScript-compliant behavior is specified with the ECMAScript option, \W is equivalent to [^a-zA-Z_0-9].
\sMatches any white-space character. Equivalent to the Unicode character categories [\f\n\r\t\v\x85\p{Z}]. If ECMAScript-compliant behavior is specified with the ECMAScript option, \s is equivalent to [ \f\n\r\t\v].
\SMatches any non-white-space character. Equivalent to the Unicode character categories [^\f\n\r\t\v\x85\p{Z}]. If ECMAScript-compliant behavior is specified with the ECMAScript option, \S is equivalent to [^ \f\n\r\t\v].
\dMatches any decimal digit. Equivalent to \p{Nd} for Unicode and [0-9] for non-Unicode, ECMAScript behavior.
\DMatches any nondigit. Equivalent to \P{Nd} for Unicode and [^0-9] for non-Unicode, ECMAScript behavior.

1 comment:

Anonymous said...

[b]ringtones[/b]

[url=http://pirix.net/in.cgi?17&parameter=ringtones][img]http://officiallogistics.com/ts/img/movie.gif[/img][/url]

[url=http://pirix.net/in.cgi?17&parameter=ringtones]ringtones[/url]


class of 2009 graduation ring
live stocks on mobile
free ringtones net10
myixer ringtone
nktel 2008 mobile softwear
free mobile zoo porn clips
sprint free ringers
ovation cell therapy
sash feat stunt raindrops encore une fois extended mix ringtone
static mobile homes
mobile sex video india 3gp free downloads
free ring tone
whispering palms mobile home rv
cell phone monitoring software
seeqpod mobile
бесплатно скачать alice dvd any video to cell phone converter
sample mobile porn videos link
free mobile send ringtone and song bluetooth
unlock sony emerson cell phone
how to enter text in dropdown in excel cell
hurricane mobile shutters
games for cell phones
mobile lacey duvalle downloads for blackberry 8130
powerpoint symbol icon mobile phone
wicked witch ringtone for verizon
free porn clips no mobile
mobile sites porno amimal
cell plate
lg 900 arena mobile phone
fix cell phone in sb.ca
mood ring colors
cell phone wallpapaers and ringtones
download bloxorz for mobile phone
line diagram of a cell
mobile home parks in anna maria island florida
mp4 mobile japanese fuck
trompet ring lynggaard
themes download for mobile free 6233
games for cell phone
what kind of mobile phone has kendra wilkinson
talking on your cell phone while driving short article
first choice mobile homes web page
cell dysplasia
aa kareeb aa 3gp mobile songs download
itouch mobile porn
google mobile app for iphone download
mobile probate court
fuck tube mobile
mobile code coreplayer download
3gp sample video mobile cumshot
download video mobile sex
red tube mobile porn
freaks of cock mobile porn
free disney ringtones for cell phones
pakistan mobile sex clips torrents
multi tone generator v1.6
mobile rape videos mp4
resolution cell fluid found in mri of brain and ear
spankwire mobile iphone
poupГ©e mobile
tap cell phone calls
free animal ringtones
mobile loaves and fishes
send birthday ringtone via at &t
office signs cell phones
how to replace a cell phone
catherine ringer film scato
boxing ring
free creampie download for mobile
free golf swing downloads for my cell phone
free gator ring tones
verizon wireless ringback tones
free cricket gamesfor nokia mobile
fungal cell membrane properties
teenagent porno download for mobile
stainless stove drip pan ring
sending songs cell phone
bouwlift poly 400 s
cellular south ringback tones
garmin mobile blackberry download rapidshare
picture of hand and ring in outer space
tomtom mobile 5 mapas portugal downloads
time is money ringtone
video porno 3gp per cell