character | describe |
---|
\ | Marks the next character as a special character, or a literal character, or a backward reference, or an octal escape character. For example, "n" matches the character "n". " n" matches a newline character. The sequence "\" matches "" and " (" matches " ("). |
---|
^ | Matches the starting position of the input string. If the Multiline property of the RegExp object is set, ^ also matches the position after " n" or " r". |
---|
$ | Matches the end position of the input string. If the RegExp object's Multiline property is set, $ also matches the position before "\n" or "\r". |
---|
* | Matches the preceding subexpression zero or more times. For example, zo * can match "z" and "zoo". * is equivalent to {0,}. |
---|
+ | Matches the preceding subexpression one or more times. For example, "zo +" matches "zo" and "zoo", but not "z". + is equivalent to {1,}. |
---|
? | Matches the preceding subexpression zero or once. For example, "do (es)?" can match "do" in "do" or "does".? is equivalent to {0,1}. |
---|
{n} | n అనగా కాదు-negative integer. Matches certain n times. For example, "o {2" does not match the "o" in "Bob", but it does match two o's in "food". |
---|
{n,} | n అనగా కాదు-negative integer. Matches at least n times. For example, "o {2,}" does not match "o" in "Bob", but does match all o in "foooood". "o {1,}" is equivalent to "o +". "o {0,}" is equivalent to "o *". |
---|
{n,m} | m and n are both non-negative integers, where n < = m. Match at least n times and at most m times. For example, "o {1,3}" will match the first three o's in "fooooood". "o {0,1}" is equivalent to "o?". Note that there can be no spaces between commas and two numbers. |
---|
? | When the character immediately follows any other constraint(*,+,?,{n},{n,},{n,m}),the matching pattern is non greedy. The non greedy mode matches the searched string as little as possible, while the default greedy mode matches the searched string as much as possible.For example, for string "oooo", "o +?" will match a single "o", and "o +" will match all "o". |
---|
. | Matches any single character except " n". To match any character including " n", use a pattern like "[.n]". |
---|
(pattern) | Matches the pattern and gets the match. The obtained match can be obtained from the resulting Matches collection, using the SubMatches collection in VBScript and the 0 dollars... 9 dollars attribute in JScript. To match parenthesis characters, use " (" or ") ". |
---|
(?:pattern) | Matches a pattern but does not obtain a match result, that is, it is a non-fetching match and is not stored for later use. This is useful when using the or character " (|) " to combine parts of a pattern. For example, "industr (?: y | ies) " is a shorter expression than "industry | industries". |
---|
(?=pattern) | Forward lookup matches the lookup string at the beginning of any string that matches the pattern. This is a non-fetch match, అంటే, అనుకూలమైన అక్షరం తర్వాత ఉపయోగానికి తీసుకోవాలు లేదు. ఉదాహరణకు, "Windows (? = 95 | 98 | NT | 2000) " matches "Windows" in "Windows2000", కానీ "Windows" లో "Windows" లో లేదు.3.1" అన్ని అక్షరాలను వినియోగించదు, అంటే, అనుకూలమైన అక్షరం కనుగొనబడిన తరువాత, తదుపరి అనుకూలమైన అక్షరం కనుగొనే ప్రక్రియ తక్కువ అక్షరం తర్వాత మొదలవుతుంది కాదు. |
---|
(?!pattern) | Negative lookup matches the lookup string at the beginning of any string that does not match the pattern. This is a non-fetch match, that is, the match does not need to be fetched for later use. For example, "Windows (?! 95 | 98 | NT | 2000) " matches "Windows" in "Windows3.1", but not "Windows" in "Windows2000". A lookup does not consume characters, that is, after a match occurs, the search for the next match starts immediately after the last match, rather than after the character containing the lookup. |
---|
x|y | లేదా y. ఉదాహరణకు, "z | food" "z" లేదా "food" ను ముట్టుకుంటుంది. " (z | f) ood" "zood" లేదా "food" ను ముట్టుకుంటుంది. |
---|
[xyz] | అక్షర జంట. ఉన్న ఏ అక్షరాన్నికూడా ముట్టుకుంటుంది. ఉదాహరణకు, "[abc]" "plain" లో "a" ను ముట్టుకుంటుంది. |
---|
[^xyz] | నకారిక అక్షర జంట. ఉన్న ఏ అక్షరాన్నికూడా ముట్టుకుంటుంది. ఉదాహరణకు, "[^ abc]" "plain" లో "p" ను ముట్టుకుంటుంది. |
---|
[a-z] | అక్షర పరిధి. పేరుగా ఉన్న ఏ అక్షరాన్నికూడా ముట్టుకుంటుంది. ఉదాహరణకు, "[a-z]" పరిధిలో ఉన్న ఏ చిన్న అక్షరాన్నికూడా ముట్టుకుంటుంది. |
---|
[^a-z] | నకారిక అక్షర పరిధి. పేరుగా ఉన్న ఏ అక్షరాన్నికూడా ముట్టుకుంటుంది. ఉదాహరణకు, "[^ a-z]" సరిహద్దులో ఉన్న ఏ అక్షరాన్నికూడా ముట్టుకుంటుంది. |
---|
\b | పద సరిహద్దును ముట్టుకుంటుంది, ఇది పదం మరియు అంతరం మధ్య స్థానాన్ని సూచిస్తుంది. ఉదాహరణకు, "er b" "never" లో "er" ను ముట్టుకుంటుంది, కానీ "verb" లో "er" ను ముట్టుకుంటుంది కాదు. |
---|
\B | నాన్-పద సరిహద్దులు. "er B" "verb" లో "er" ను ముట్టుకుంటుంది, కానీ "never" లో "er" ను ముట్టుకుంటుంది కాదు. |
---|
\cx | x యొక్క నియంత్రణ కారకంను ముట్టుకుంటుంది. ఉదాహరణకు, cM నియంత్రణ కారకంను ముట్టుకుంటుంది.-M లేదా కారెజ్ రిటర్న్. x యొక్క విలువ లేదా A-Z లేదా a-z. లేకపోతే, c నిజమైన "c" అక్షరంగా చేయబడుతుంది. |
---|
\d | నంబరిక అక్షరం. [0 సమానం.-9]. |
---|
\D | నాన్-నంబరిక అక్షరం. [^ 0 సమానం.-9]. |
---|
\f | పేజీ ఫీడ్ కారకం. \x0c మరియు \cL సమానం. |
---|
\n | క్రమబద్ధమైన కారకం ముగించు. \x0a మరియు \cJ సమానం. |
---|
\r | Matches a carriage return. Equivalent to \x0d and \cM. |
---|
\s | Matches any whitespace character, including spaces, tabs, page feeds, etc. Equivalent to [\f\n\r\t\v]. |
---|
\S | మ్యాచ్ ఏదైనా నాన్--whitespace character. Equivalent to [^\f\n\r\t\v]. |
---|
\t | Matches a tab. Equivalent to \x09 మరియు \cI. |
---|
\v | మ్యాచ్ వర్గం కింది టాబ్. అనగా \x0b మరియు \cK. |
---|
\w | మ్యాచ్ ఏదైనా వర్డ్ చారక్టర్ తో ఉన్నది. అనగా "[A-Za-z0-9_]". |
---|
\W | మ్యాచ్ ఏదైనా నాన్--వర్డ్ చారక్టర్. అనగా "[^ A-Za-z0-9_]". |
---|
\xn | మ్యాచ్ n, అనగా n హెక్సడీసిమల్ ఎస్కేప్ విలువ. హెక్సడీసిమల్ ఎస్కేప్ విలువ గుర్తించిన రెండు సంఖ్యల పొడవులో ఉండాలి. ఉదాహరణకు, " \x41" అనగా " \x041" అనగా " \x04 & 1". రెగ్యులర్ ఎక్స్ప్రెషన్స్ లో ఆస్కియోన్ ఎంకోడింగ్ ఉపయోగించవచ్చు. |
---|
\num | మ్యాచ్ నమ్, అనగా నమ్ ఒక సంఖ్యలు. సరిపోయిన మ్యాచ్ ప్రతినిధీకరణ. ఉదాహరణకు, " (.) 1" రెండు తరచుగా అదే అక్షరాలను ముక్తిస్తుంది. |
---|
\n | ఆక్టల్ ఎస్కేప్ విలువను లేదా బ్యాక్వర్స్ రిఫరెన్స్ గుర్తిస్తుంది. ఇది \n కి ముందు కనిస్తున్న n అక్వైర్డ్ సబ్ ఎక్స్ప్రెషన్స్ కనిస్తున్నప్పుడు, అప్పుడు n బ్యాక్వర్స్ రిఫరెన్స్. లేకపోతే, అనగా n ఆక్టల్ సంఖ్య (0-7), అప్పుడు n ఆక్టల్ ఎస్కేప్ విలువగా ఉంటుంది. |
---|
\nm | ఆక్టల్ ఎస్కేప్ విలువను లేదా బ్యాక్వర్స్ రిఫరెన్స్ గుర్తిస్తుంది. Nm బ్యాక్వర్స్ రిఫరెన్స్ అయినప్పుడు nm కి ముందు కనిస్తున్న nm అక్వైరర్ ఎక్స్ప్రెషన్స్ కనిస్తున్నాయి. ఇది \nm కి ముందు కనిస్తున్న n అక్వైరర్స్ కనిస్తున్నప్పుడు, అప్పుడు n బ్యాక్వర్స్ రిఫరెన్స్ తరువాత లిటెరల్ m ఉంటుంది. ఇది ముంది పరిస్థితులలో ఎక్కడా సరిపోనిది, అప్పుడు n మరియు m ఆక్టల్ డిజిట్లు (0-7), అప్పుడు nm ఆక్టల్ ఎస్కేప్ విలువను సరిపోతుంది. |
---|
\nml | అనగా n ఆక్టల్ డిజిట్ ఉంటే-3), మరియు మరియు l ఆక్టల్ డిజిట్లు (0-7), ఆక్టల్ ఎస్కేప్ విలువ నమ్మలు సరిపోతుంది. |
---|
\un | మ్యాచ్ n, అనగా n నాలుగు హెక్సడీసిమల్ డిజిట్లతో ప్రతినిధీకరించే యూనికోడ్ అక్షరం. ఉదాహరణకు, \ u00A9 కాపీరైట్ సంకేతం (©)తో సరిపోతుంది. |
---|