Thursday, September 16, 2010

Novice School: commonly used regular expression operators introduced



Commonly used regular expression operators

Operators use

. (Period) matches any single character.

^ (De font size) matches the beginning of the string appears at the location of the first or the empty string.

$ (Dollar sign) matches the empty string at the end of the line there.

A matching capital letter A.

a match the lowercase letters a.

d matches any digit.

D Matches any single non-numeric characters.

w Matches any single alphanumeric character, synonyms are [: alnum:].

[AE] matches any uppercase A, B, C, D or E.

[^ AE] match except A, B, C, D and E than any character.

X? Matches appear zero or one of the capital letters X.

X * matches zero or any number of uppercase X.

X + match one or more of the letters X.

X (n) n exact match letters X.

X (n, m) Match at least n months and not more than m letters X. If you omit m, the expression will attempt to match at least n-X.

(Abc | def) + match a series of (at least one) abc or def; abc and def will match.







Recommended links:



How GIS Abstract surface features of space?



Qualcomm CEO: WiMax 3G will compete in the face OF setbacks



Effective process Improvement method must contain the elements



convert wmv to ps3



Wealth Life - Interview with Dr. Xin Rong Record



mpeg4 to Mp4



video file Formats



Hot Vertical Market Apps



Guo Wei, CEO of God Code: I not only more chaos Chuluanbujing also more exciting



New CHANGES in PMP certification exam



Simple Telephony



Best E-Commerce



J2ME learning Reviewing the Old Posts



Convert m4v to mpg



No comments:

Post a Comment