Match Ending String Patterns Using Regexes, Regex Pattern Matching Tutorial, freeCodeCamp Coding Ex

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=5_cXnNe-rmo



Duration: 2:11
159 views
0


In this lesson from freeCodeCamp's Regular Expression course we continue learning regex syntax that we can use to match specific patterns. In this lesson we specifically learn how to match the end of a string pattern. We learn that we are able to do this using the dollar sign character at the end of our regex pattern. For example, if we wanted to know whether the word "caboose" appeared at the end of a string we could create the following regex to test against a string, "/caboose$/" If we applied this particular regex expression to a string that ended with the word "caboose", our regex would return true if we tested it.




Other Videos By We Will Code


2021-02-13Specify Exact Number of Matches, Free Online Coding Tutorial
2021-02-11freeCodeCamp, Specify Only the Lower Number of Matches, Free Coding Tutorial for Beginners in 2021
2021-02-11Specify Upper and Lower Number of Matches, freeCodeCamp Coding for Beginners 2021
2021-02-11Regex Coding Tutorial, Match Non-Whitespace Characters, Tutorial on Regular Expressions
2021-02-10Regular Expressions 2021 freeCodeCamp, Match Whitespace
2021-02-09freeCodeCamp Regular Expression, Restrict Possible Usernames, 2021 Coding Tutorials for Beginners
2021-02-08freeCodeCamp Regular Expressions, Match All Non-Number using Regex 2021 Coding Tutorials
2021-02-08Understanding Regular Expressions on freeCodeCamp 2021, Match all Numbers Regex Pattern Matching
2021-02-07Regular Expressions in 2021, freeCodeCamp Regex Match Everything But Letters and Numbers, Coding Vid
2021-02-06freeCodeCamp 2021 Regular Expressions Match All Letters and Numbers, Master Regex 2021 Coding lesson
2020-02-14Match Ending String Patterns Using Regexes, Regex Pattern Matching Tutorial, freeCodeCamp Coding Ex
2020-02-13Match Beginning String Patterns, Regex Tutorials
2020-02-08Find One or More Criminals in a Hunt, Regular Expression Greedy Match Lesson
2020-02-08Find Characters with Lazy Matching, Learning about Regular Expressions in 2020, Learn Regex Features
2020-02-03Match Characters that Occur Zero or More Times, freeCodeCamp's Regex Lessons and Tutorials
2020-01-21Match Characters that Occur One or More Times,freeCodeCamp Regex Tutorials Javascript, Learn to Code
2020-01-17Match Single Characters Not Specified, Regular Expression Lesson 2020, freeCodeCamp Tutorial
2020-01-11Match Numbers and Letters of the Alphabet, Free Regex Course, freeCodeCamp Learn Regular Expressions
2020-01-10Match Letters of the Alphabet, Regular Expression Patterns, freeCodeCamp Regexes Review
2020-01-08Match Single Character with Multiple Possibilities, freeCodeCamp Regex Concepts and Challenges
2020-01-07Match Anything with Wildcard Period, freeCodeCamp's Regex Tutorials 2020, Learn Regular Expressions



Tags:
match end of string
regex match end
regex end pattern match
regular expression help
learn regex