JavaScript?? ???? Match () ???? ???? ?? ??? ???? ? ?? ?????. ??? ??? ?? ?? ???? ?? ??? ???????. ?? ??, str.match (/ain/g)? "ain"? ???? ?? ?? ??? ?????. G ???? ???? ??? ? ?? ?? ? ?? ??? ?????. ???? ?? ??? ??? ????. 1. ???? ???? ?? ?? ??? ??????. 2. ???? ???? ?? ?? ???? ??? ?? ??? ?????? ??????. 3. ???? ?? ? NULL? ??????. 4. Capture Group? ?? ??? ??? ??? ??? ?? ?? Email.Match (/(\ w)@(\ w. \ w)/)? ?? ??? ?? ?? ??? ?? ? ? ????. 5. Modern JS? DateStr.Match (/(?
JavaScript?? ???? ?? ? ? match()
???? ?? ???? ???? ??? ???? ??? ?????. ??? ?? ???? ???? ??? ??? ??? ????? ???? ??? null
?? ? ? ????.

REGEX? match()
? ?? ??
match()
????? ????? ??? ?? ???? ??????. ??? ?? ??? ????.
const str = "???? ?? ?? ??? ?????"; const result = str.match (/ain/g); Console.log (??); // [ "ain", "ain", "ain"]
? ?? ??? ??? g
???? ????? "ain"? ?? ??? ???? ????. g
???? ??? match()
INDEX ? Input String? ?? ?? ??? ?? ? ?? ?? ? ?????.

REGEX ???? ???? ????? ?? ?? ?? ?? ???? ??? ?? ?? ? ????. ??? g
(Global), i
(Case-Insensitive) ?? m
(Multiline)? ?? ???? ???? ?? ? ? ??????.
???? ??? ?
- Regex? ?? ??????? : Regex101.com ?? ???? ?? ??? ?? ??? ??? ???? ?? ?? ??? ???? ?? ??? ??????.
- ???? ?? ???? : JavaScript? ?? ???? ?? ???
/pattern/flags
? ???? ????. - NULL ?? ?? : ???? ???
match()
null
????? ??? ?? ???? ?????? ???? ?? ??????.
? ?? ???? gotchas? ??? ????.

-
.
???*
???? ?? ?? - REGEX ???? ??? ???? ?? ?????
-
i
??? ??? ?? ???? ???? ????
???? ?? ??
match()
? ?? ?? ? ??? ?? ??? ??? ???? ????. REGEX?? ?? ??? ???? match()
? ?? ??? ?? ?? ? ??? ???? ?? ? ??? ? ????.
?? ??:
const email = "support@example.com?? ??????"; const pattern = /(\ w)@(\ w \. \ w) /; const result = email.match (??); Console.log (?? [0]); // "support@example.com" Console.log (?? [1]); // "????" Console.log (?? [2]); // "example.com"
??? ?? ??? ????? URL, ??? ?? ?? ??? ?? ??? ? ???? ?? ?? ? ? ?? ?????.
?????? : REGEX? ?? ?? ??? ???? ??? ?? ? ??? ???? ?????. ?? ?? ? ?? ?? (?? JS?? ?? ??)? ? ???? ?? ? ????.
const datest = "??? 2024-04-05???"; const result = datest.match (/(? <eart> \ d {4})-(? <conth> \ d {2})-(? <lay> \ d {2})/); console.log (result.groups.year); // "2024" console.log (result.groups.month); // "04" console.log (result.groups.day); // "05"
????? ??? ?? ?? ?? ?? ???? ??? ??? ????.
?? ??
??? ? ???? match()
???? JavaScript? ??? ??? ???? ?? ? ? ????. ?? ??? ???? ?? ???? ??? ? ???? ???? ????? ????? ?? ?????.
?? match()
JS?? ??? Regex ?? ???? ???? ?? ???????. ?? ?? ?? ??? ?? test()
, exec()
? replace()
? ????.
????? ?? ??.
? ??? JS? ?? ???? ?? match () ???? ???? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

ES ??? CommonJS? ?? ???? ?? ?? ? ?? ???????. 1. Commonjs? ????????? Node.js ?? ? ??? ?????. 2.ES ??? ???????? ????? ?? ???? ??? ?????. 3. ??, ES ??? ?? ??/????? ???? ??? ??? ?????? CommonJS? Quiew/Module.exports? ???? ???? ???? ?? ? ? ????. 4. Commonjs? Express? ?? ???? Node.js ? ?????? ?? ???? ?? ???? ?? ES ??? ?? ??? ?? ??? ?? ? Node.jsv14? ?????. 5. ?? ? ? ??? ?? ??? ??? ? ????.

JavaScript? ??? ?? ????? ??? ?? ??? ??? ?? ?? ?? ????? ?? ???? ???? ?????. ??? ?? ???? ?? ??? ?? ??? ???? ???? ?? ?? ???? ???? ?????. ?? ??, ??? ? ?? ???? ??? (? : ??? null? ??) ?? ??? ????? ??????. ??? ??? ???? ??? ??? ????. closure?? ?? ??? ?? ??; ? ??? ??? ?? ?? ???? ?? ???? ????. V8 ??? ?? ???, ?? ??, ??/?? ???? ?? ??? ?? ??? ??? ????? ?? ??? ?? ??? ????. ?? ?? ???? ??? ??? ??? ??? ???? ????? ?? ?? ???? ?? ???????.

Node.js?? HTTP ??? ???? ? ?? ???? ??? ????. 1. ?? ????? ????? ??? ??? ? ?? ????? ?? ?? ? https.get () ??? ?? ??? ??? ? ?? ????? ?? ??? ?????. 2.axios? ??? ???? ? ?? ??????. ??? ??? ??? ??? ??? ??? ???/???, ?? JSON ??, ???? ?? ?????. ??? ?? ??? ????? ?? ????. 3. ?? ??? ??? ??? ??? ???? ???? ??? ??? ???? ?????.

VAR, Let ? Const? ???? ??, ?? ? ?? ?????. 1.var? ?? ??????? ?? ???? ?? ? ??? ?????. 2. let? ?? ?? ????? ?? ?? ???? ?? ? ??? ???? ????. 3. ???? ?? ?? ???? ?? ??????? ? ?? ? ? ??? ?? ??? ?? ?? ??? ? ????. ?? const? ???? ??? ??? ? LET? ???? VAR? ???? ????.

JavaScript ??? ??? ?? ?? ? ?? ???? ????. ?? ???? ???, ??, ??, ?, ???? ?? ? ??? ?????. ?? ????? ?? ?? ? ? ??? ????? ?? ??? ??? ????. ??, ?? ? ??? ?? ?? ??? ??? ??? ???? ??? ??? ???? ??? ?? ??? ????. ?? ? ????? ??? ???? ? ??? ? ??? TypeofNull? ??? ?????? ??? ? ????. ? ? ?? ??? ???? ?????? ????? ???? ??? ???? ? ??? ? ? ????.

DOM Traversal? ? ??? ?? ??? ?????. ???? ???? ??? ?????. 1. ParentNode? ???? ?? ??? ?? ???? ?? ? ????. 2. ???? ?? ?? ??? ???? ??? ?? ? ?? ?? ?? ??? ??? ??????. 3. NextElementsibling? ?? ?? ??? ?? ?? ??? ???? ??? ??? ??? ?????. ???? ?? ??, ??? ?? ?? ?? ?? ?? ????? ??? ???? ?? Brother ??? ?? ?????. ??? ??? ??? ? ??? ??? ??? ???? ?? ? ? ????.
