
Explore how regular expressions search for patterns in data sets, show their use across Java, Javascript, Python, Ruby, and Linux, and help solve everyday problems.
Explore practical uses of regular expressions through real-world sign-up form validation and advanced search in csv data, illustrating pattern matching, regex engines, and multi-condition queries.
Explore the complete regular expressions course roadmap, from foundations to extended patterns, with hands-on sessions using grep and the Java regex engine, plus find-and-replace practices and challenges.
This course uses hand scripted English subtitles for accuracy, explains why auto-generated captions are skipped, and shows how to enable subtitles via the CC button in Udemy.
Explore how to build a regex to identify patterns, using a simple example with foo followed by a* and bar from a text file to distinguish green from red strings.
Learn a repeatable four-step approach to building regular expressions: define requirements, identify inclusion and exclusion patterns, craft a pattern with regex symbols, and test with any regex engine.
Learn how POSIX compliant regex engines unify patterns across languages and practice Linux grep to match patterns in a sample file, observing four of six entries.
Learn to use the Java regex engine with Matcher and Pattern to apply a pattern to input lines, print matches, and compare with grep.
Explore the POSIX basic set of regular expression symbols through examples and hands-on sessions, studying each symbol thoroughly and moving on to the remaining basics in the next module.
The lecture demonstrates using the dot wildcard in regex to match exactly one character between fixed prefixes foo and bar, forming the pattern foo...bar and validating it with grep.
Explore using the dot star wildcard to match any middle content between fixed foo and bar, forming a single regex pattern and testing with grep.
Represent whitespaces in regex by using the \s symbol with * to match zero or more spaces between foo and bar, demonstrated via a grep test against an input file.
Learn how character classes in regex use square brackets to match specific letters, build differentiators between strings, and use negation to exclude patterns, including 'oo' endings.
Apply character class ranges to differentiate green and red strings ending in oo, using j-m, union with z, and two-range patterns, then test with grep.
Learn to escape regex metacharacters with a backslash to treat symbols like the period as literals, and build patterns such as x*\.y* or character classes to match x and y.
Discover how regex anchors enforce line boundaries using the caret and dollar, enabling patterns that begin with foo, end with bar, or match only foo.
Explore the POSIX-based regular expressions extended set, building on the basic set, and learn symbol-by-symbol meanings through examples and hands-on sessions.
Identify 3-digit numbers using a digit class [0-9] repeated 3 times with start and end anchors, then apply the curly braces repeater for exact or ranged repetitions, ensuring whole-string matches.
Learn to use the curly braces repeater on grouped ha patterns in extended regex, enforcing at least four repetitions with parentheses and validating whole strings with anchors.
Learn to build a regex that matches strings starting with 'foo' and ending with 'bar' with one or more 'a's in between, using the plus quantifier and grep.
Learn to use the question mark quantifier to represent zero or one repetition in a regex that matches http or https website urls by adding an optional s.
Master the pipe to create alternatives in regular expressions, building a pattern like (log|ply)wood to match logwood or plywood.
Learn to use regex to perform find and replace operations, define capture groups, craft substitution strings, and apply replacements with a regex engine through practical examples.
Explore capturing numbers from monitor resolutions with regex and reformat them, for example 1280x720 to 1280 pix by 720 pix. Learn capture groups and references in sed and Java.
Learn how to use regex capture groups to reformat names from 'first name last name' to 'last name, first name', with practical examples, substitutions, and command-line demonstrations.
Learn to extract hour and minute from clock time with regex and rewrite it as 'minutes past hour' using capture groups and backreferences. Example: 7:32 becomes 32 minutes past 7.
Master masking 10-digit phone numbers with regex by capturing the last four digits and replacing the first six with x, using a backreference like \1 in the substitution.
Transform 3-letter month date strings with regular expressions by capturing the month, date, and year digits, then reformat them into a day-month-yy pattern using capture groups and a replacement string.
Learn regex techniques to transform phone numbers using capture groups and replacement patterns, including literal escapes and sed substitutions, in the complete regex course for beginners.
Hone your regex skills with a challenges section that starts with one problem and adds more, offering solutions for some and inviting you to submit answers for feedback and hints.
Learn regex-based email validation, covering the local-part, at symbol, and domain rules like dot with two letters. Build a regex that yields match for valid emails and no-match for invalid.
Celebrate completing the complete regex course and invite questions, clarifications, and suggestions for improvement. I respond within a few hours via the Udemy inbox and would appreciate your review.
the complete regular expressions course for beginners introduces you to regex concepts and techniques essential for mastering string patterns.
Regular expressions(regex) is a moderately difficult topic to grasp, as well as teach. It is really important that you grasp the core concepts thoroughly. Once you get the fundamentals right, regular expressions(regex) will come naturally to you. I struggled to learn regular expressions(regex) myself a couple of decades back. I completely understand the pain points. I have seen tons of free youtube videos on regular expressions(regex), but they all fail in something fundamental. They do NOT care about getting the basics right. I have taken immense efforts to prepare this course material. Each and every concept, each and every exercise, has been meticulously planned in such a way that it sticks to your brain easily. I have created graphical illustrations wherever possible to drive home the point. Each of the 30 examples come with graphical illustrations on how the regex techniques are applied in a step-by-step way, to come up with a solution.
I teach regular expressions(regex) using the POSIX standard. I have done so because the POSIX standard is followed by ALL regex engines. So if you know how to apply the techniques that you learn from this course, you can play around with regular expressions(regex) in ANY programming language of your choice. You could even try it out in Notepad++ (Yes, Notepad++ comes with a basic regex engine.)
I have hands-on sessions for ALL the 30 exercises in this course. Even if you are not familiar with the programming language, you will be able to follow it easily and apply it to your case.
I have kept my voice narration to a very slow pace on purpose. You can put me on 1.5x or even 2x speed on the Udemy player, if you think I am slow.
Something else that is special about this course - The subtitles are hand-scripted and accurate. I have even checked the timings to guarantee accuracy. Most courses come with subtitles that are auto-generated using a Speech-To-Text Engine, the accuracy of which is fairly low. But not mine! I have taken pains to script my course to perfection and include the subtitles too. So if you are at work, and you want to put me on mute, please feel free, although I would like you to hear my voice narration. If you want to put me on mute, just enable the subtitles in Udemy and play!