Skip to content

Instantly share code, notes, and snippets.

View imSpires's full-sized avatar

Ryan Dungan imSpires

View GitHub Profile
@imSpires
imSpires / regextut.MD
Last active October 6, 2021 21:35
Regex Tutorial

Matching a Relative File Path or File Extension

Regular expressions (Regex) are an incredibly useful tool in searching/extracting text for matches within a specific search pattern.

Fields of application include form validation, trasnlating data, replacing strings, and many other uses.

Summary

This regex will match strings that contain relative file path or extension.