Skip to content

Instantly share code, notes, and snippets.

View tbegush's full-sized avatar

Thomas J Begush tbegush

View GitHub Profile

Regular Expressions - Regex - the basics

Hello, this brief tutorial will walk you through understanding regular expressions using some examples. The phrase "regular expressions" is sometimes shortened to "regex" It is pronounced regex, with a hard G, like the word 'graphics'. Also, like golf, game, gourd or gif.

Summary ----------------------------------------------------------------------------------------

We will parse and discuss some regex, using some examples.

Here is an example of a regular expression to ensure that a string is an email address: