Skip to content

Instantly share code, notes, and snippets.

View SidneyBasa's full-sized avatar
💭
Studying

SidneyBasa

💭
Studying
View GitHub Profile

Title (Tutorial on Matching a URL with Regular Expressions)

This is a tutorial on building a URL search with a regular expression. This will cover part or most of the syntax.

Summary

I will be describing the syntax of a regular expression provided by the Challenge 17 documentation. The following code snippet is from the readme.md file which describes searching for a matching email using a regular expression: /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/