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

Scrimba

Learn Regular Expressions

via Scrimba

Overview

This tutorial teaches you regex in JavaScript through 34 screencasts. It explains regular expressions step-by-step from basic to advanced so that you don't fall off along the way. This ensures that you finally learn regex once and for all.
  • Regex basics
  • Test matches
  • Literal strings
  • Case insensitive
  • Single character
  • Match letters
  • Match numbers
  • Single match
  • Multiple matches
  • Wildcards
  • Lazy matching
  • Begins with match
  • Ends with match
  • Inclusive match
  • Exclusive match
  • Whitespace match
  • Lookahead
  • Capture groups

Syllabus

  • Learn Regular Expressions
    • 1. Regular Expressions Intro
    • 2. Using the Test Method
    • 3. Frontend Career Path
    • 4. Match Literal Strings
    • 5. Match a Literal String with Different Possibilities
    • 6. Ignore Case While Matching
    • 7. Extract Matches
    • 8. Find More Than the First Match
    • 9. Match Anything with Wildcard Period
    • 10. Match Single Character with Multiple Possibilities
    • 11. Match Letters of the Alphabet
    • 12. Match Numbers and Letters of the Alphabet
    • 13. Match Characters that Occur One or More Times
    • 14. Match Characters that Occur One or More Times
    • 15. Match Characters that Occur Zero or More Times
    • 16. Find Characters with Lazy Matching
    • 17. Find One or More Criminals in a Hunt
    • 18. Match Beginning String Patterns
    • 19. Match Ending String Patterns
    • 20. Match All Letters and Numbers
    • 21. Match Everything But Letters and Numbers
    • 22. Match All Numbers
    • 23. Match All Non-Numbers
    • 24. Restrict Possible Usernames
    • 25. Match Whitespace
    • 26. Match Non-Whitespace Characters
    • 27. Specify Upper and Lower Number of Matches
    • 28. Specify Only the Lower Number of Matches
    • 29. Specify Exact Number of Matches
    • 30. Check for All or None
    • 31. Positive and Negative Lookahead
    • 32. Reuse Patterns Using Capture Groups
    • 33. Use Capture Groups to Search and Replace
    • 34. Remove Whitespace from Start and End
    • 35. Regular Expressions Outro

Reviews

Start your review of Learn Regular Expressions

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.