๐ฐ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
Was this helpful?