Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Learn Regular Expressions (Regex) - Crash Course for Beginners

via freeCodeCamp

Overview

Dive into a comprehensive crash course tutorial on Regular Expressions (Regex) designed for beginners, focusing on JavaScript implementation but applicable to various programming languages. Master essential Regex concepts including literal string matching, case sensitivity, wildcards, character sets, quantifiers, lazy matching, anchors, lookaheads, and capture groups. Practice with real-world examples like username validation and criminal hunt scenarios. Follow along with freeCodeCamp's curriculum, covering 32 key topics from basic pattern testing to advanced techniques like whitespace removal. By the end, gain the skills to effectively use Regex for powerful string manipulation and pattern matching in your coding projects.

Syllabus

) Using the Test Method.
) Match Literal Strings.
) Match a Literal String with Different Possibilities.
) Ignore Case While Matching.
) Extract Matches.
) Find More Than the First Match.
) Match Anything with Wildcard Period.
) Match Single Character with Multiple Possibilities.
) Match Letters of the Alphabet.
) Match Numbers and Letters of the Alphabet.
) Match Single Characters Not Specified.
) Match Characters that Occur One or More Times.
) Match Characters that Occur Zero or More Times.
) Find Characters with Lazy Matching.
) Find One or More Criminals in a Hunt.
) Match Beginning String Patterns.
) Match Ending String Patterns.
) Match All Letters and Numbers.
) Match Everything But Letters and Numbers.
) Match All Numbers.
) Match All Non-Numbers.
) Restrict Possible Usernames.
) Match Whitespace.
) Match Non-Whitespace Characters.
) Specify Upper and Lower Number of Matches.
) Specify Only the Lower Number of Matches.
) Specify Exact Number of Matches.
) Check for All or None.
) Positive and Negative Lookahead.
) Reuse Patterns Using Capture Groups.
) Use Capture Groups to Search and Replace.
) Remove Whitespace from Start and End.

Taught by

freeCodeCamp.org

Reviews

Start your review of Learn Regular Expressions (Regex) - Crash Course for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.