RegExp
Regular Expressions
Last updated
Was this helpful?
Regular Expressions
Last updated
Was this helpful?
JS โฉ value โฉ object โฉ regex โฉ
Regular expressions are string patterns and used with๏ผ
String โฉ match(), matchAll(), replace(), replaceAll(), search(), split().
By default, regular expressions work on code units, not actual characters
Characters that are composed of two code units (e.g. emojis) behave strangely.