🔰using regex
🚧 under construction
Last updated
🚧 under construction
Last updated
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❗