🔰using regex
🚧 under construction
JS ⟩ value ⟩ object ⟩ regex ⟩ using regex
Regular expressions are used
with
str.match()
,str.replace()
,str.search()
,str.split()
.
when using str.matchAll(regex), the regex
must have the global (g
) flag set, or a TypeError
is thrown❗
Last updated