^\s*$. \d{2}-\d{5}, 2 5 ID. <\s*(\s+)(\s[^>]*)?>[\s\s]*<\s*\/\1\s*>. \,,, 8., 'n' "n" '\n'. '\\' "\" '\(' "(". ^. RegExp Multiline ^ '\n' '\r'. $. RegExp Multiline $ '\n' '\r'.. * 0., 'zo*' "z", "zoo". {0,} *. +., 'zo+' "zo", "zoo". "z" {1,} +.? 0., "do(es)?" "do" "does" "do". {0,1}?. {n} {n,} n. n., 'o{2}' "Bob" "o" "food" o. n. n., 'o{2}' "Bob" "o" "foooood" o. 'o{1,}' 'o+'
, 'o{0,}' 'o*'. {n,m} m n. m n. n, m., "o{1,3}" "fooooood" o. "o{0,1}" "o?"..? (*, +,?, {n}, {n,}, {n,m}).., "oooo" "o" "o+?", "o+" "o".. "\n". '\n' '[\s\s]'. (pattern) (?:pattern) (?=pattern) (?!pattern). $0...$9 Matches. ( ) '\(' '\)'. pattern.,. "or" ( )., 'industr(?:y ies) 'industry industries'. pattern.., "Windows(?=95 98 NT 2000)" "Windows 2000" "Windows" "Windows 3.1" "Windows".. pattern.., "Windows(?!95 98 NT 2000)" "Windows 3.1" "Windows" "Windows 2000" "Windows"..
x y [xyz] [^xyz] [a-z] [^a-z] x y., "z food" "z" "food". "(z f)ood" "zood" "food"..., "[abc]" "plain" "a"..., "[^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., Control-M \cm,. x A-Z a-z. c "c". \d.. [0-9] \D.. [^0-9] \f. \x0c \cl. \n. \x0a \cj. \r. \x0d \cm. \s,,. "[ \f\n\r\t\v]". \S. [^ \f\n\r\t\v]. \t. \x09 \ci. \v. \x0b \ck. \w. '[A-Za-z0-9_]'.
\W. "[^A-Za-z0-9_]". \xn \num n. n 16. 16., '\x41' "A" '\x041' '\x04'. "1" ASCII. num. num.., '(.)\1'. \n 8. \n n n. n 0 7 8 n 8. \nm 8. nm \ nm nm. nm \ n n m. nm 0 7 8 nm8 \ nm. \nml n 0 3 8m l 0 7 8 8 nml. \un n 4 16., \u00a9 ( ).
\
*. 0, zo* z zoo. {0,} *. +. 1, zo+ zo zoo z. {1,} +.? 0 1., do(es)? do does do.? {0,1}. {n} {n,} {n,m} n. n., Bob o{2} o food o. n. n., o{2,} Bob o foooood o. o{1,} o+. o{0,} o*. M n n <= m. n m., o{1,3} fooooood 3 o. o{0,1} o?..
^. RegExp Multiline ^ \n\r.. $. RegExp Multiline $ \n \r.,. \b,. \B.