REGEX

What is regular expression?

circle-info

A regular expression is a sequence of charactersarrow-up-right that define a search patternarrow-up-right. Usually such patterns are used by string searching algorithmsarrow-up-right for "find" or "find and replace" operations on stringsarrow-up-right, or for input validation. It is a technique developed in theoretical computer sciencearrow-up-right and formal languagearrow-up-right theory. — Wikipedia It works similar to when we are searching something on Google but in a more advanced and specific way.

Why it matters?

  • Remove human errors when it come to countless of data sorting or wrangling

  • Save you time and effort - once you written it once, it's reuable

The basics

Character class

[]

Cookbook

HEX codes

NCAA

Last updated

Was this helpful?