Sitemap

REGEX — Short Notes on Regular Expression

1 min readDec 30, 2020

In this blog, I would like to share about regex.

About Regex

Regular Expression, is a sequence of characters that forms a search pattern. RegEx can be used to check if a string contains the specified search pattern. Regex is a standard library of many programming languages like Python, Java and many more.

Regular expressions are the key to powerful, flexible, and efficient text processing. Regular expressions allow you to describe and parse text.

Lets discuss some use cases for regex

  1. Search engines.
  2. Searching and replacing dialogs of word processors and text editors.
  3. Text processing.
  4. Password matching pattern (describes a pattern you need to follow in order to provide a valid password).
  5. Email format checker .
  6. Smart character replacement ( converts camelcase notation to normal notation).

Meta Characters

Metacharacters are characters with a special meaning:

Press enter or click to view image in full size

And with that, this post comes to an end. I hope this post was helpful.

--

--

No responses yet