Regular Expressions in JavaScript
A Regular Expression (or Regex) is a sequence of characters that we can use to target and manipulate certain elements in strings. Hence, we can:
Search for a text in a string
Replace substrings in a string
Extract information from a string
š” J...
zeeshansafdar.hashnode.dev4 min read