Character Description / Tags the next character as a special character, text, reverse reference, or eight-encyclopedifier. For example, "N" matches the character "n". "/ N" matches the charter. Sequence "//" Match "/" / ("Match" (". ^ Matches the position of the input string start. If the multiline property of the regexp object is set, ^ will be with" / n "or" / r " The subsequent position matches. $ Match the position of the input string end. If the regexp object's multiline property is set, $ will match "/ n" or "/ r" position. * Zero or multiple matches the front Character or sub-expression. For example, ZO * matches "Z" and "ZOO". * Isometrically equivalent to {0,}. One or more matching characters or sub-expressions. For example, "ZO " and "ZO" "" ZOO "matches, but with" z "does not match. Is equivalent to {1,}.? Zero or one character or sub-expression in front of it. For example," Do (es)? "Match" DO "Do" in "does".? Isometric in {0,1}. {N} n is a non-negative integer. Just match n times. For example, "O {2}" and "Bob" "O" "O "Do not match, but two" O "in" Food "match. {N,} n is a non-negative integer. At least n times. For example," o {2,} "does not match" Bob "" O " ", Matching all O'O {1,} 'in" fooood "is equivalent to' o '.' O {0,} 'is equivalent to' o * '. {N, m} m and n are non- Negative integer, where n <= m. At least n times, up to M times, for example, "o {1, 3}" matches the first three O.'O {0, 1} 'in "foooood" At 'o?'. Note: You cannot insert spaces between commas and numbers. • This character follows any other qualifiers (*, ,?, {N}, {n,}, {n, m} When the matching mode is "non-greedy". "Non-greed" mode matches search, as short as possible strings, and the default "greed" pattern matches search, as long as possible string For example, in the string "OOOO", "O ?" Only matches a single "O", and "o " matches all "O" .. Match any single character other than "/ n". To match the included Any character, such as "[/ s / s]," like "[/ s / s]", matches Pattern and captures the matching sub-expression. You can use $ 0 ... $ 9 properties from the result The "match" collection retrieves the capture match. To match the parentheses characters (), use "/ (" or "/)" / (":": "/) matching Pattern but does not capture the matching sub-expression, ie it is A nonaptured matching, not stored for later use. This is useful for the case of "or" character (|) combined mode components. For example, with "Industrial | Industrie S "Compared to" Industr (?: Y | IES) "is a more economical expression. (? = pattern) Performs a sub-expression forward predicts the first search of the first search, which matches the string of the starting point of the string that matches Pattern. It is a nonaptured match, that is, it cannot capture the matching of future use. For example, "Windows (? = 95 | 98 | NT | 2000)" matches "Windows" in Windows 2000, but does not match "Windows" in "Windows 3.1". The predicts do not occupy characters, that is, after matching, the next matching search is followed by the previous match, not the character that makes up the first character. (?! pattern) Execute a sub-expression that reverse predicts the first search, the expression matches the search string of the starting point that is not in the starting point of the string of Pattern.