Skip to content

Instantly share code, notes, and snippets.

Working from home

Gospel Chukwu Brondchux

Working from home
View GitHub Profile

Regex for Beginners 101

Do characters like (^"<?>%/-#/$) confuse you? If yes then this gist project was created for you. We will cover what Regular Expression (regex) is about starting from the basics. Excited to learn and understand regex? Let's get started!


A regular expression (shortened as regexp; also referred to as rational expression or regex) is a sequence of characters that specifies a search pattern. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation.