Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Regular Expressions Masterclass: REGEX Universal 8.5 Hours!
Rating: 3.1 out of 5(9 ratings)
1,580 students

Regular Expressions Masterclass: REGEX Universal 8.5 Hours!

REGEX Universe Complete with Bash, Python, Perl, Java, JS, AWK, SED, GREP in 8.5 Hours! 100+ Examples and Notebooks
Last updated 4/2021
English
English [Auto],

What you'll learn

  • Understand regular expression syntax
  • Use metacharacters and characters sets in defining patterns.
  • Using groups for more advanced searching, plus replacing parts of strings
  • Using flags and greedy vs. lazy to fine-tune your regular expressions
  • Lookahead and Lookbehind
  • Examples and exercises provided in Bash, JavaScript, Python and Grep
  • Define more complex patterns using regular expressions.
  • Take advantage of repetition and grouping.

Course content

8 sections46 lectures8h 37m total length
  • Welcome!0:55

    Master universal regular expressions with a practical master class covering regex across Python, Perl, and Basche. Learn from experts in Linux, dev ops, HPC, and data science.

  • Why Enrol this Course?1:11

    Enroll now to access practical, beginner-friendly instruction starting from zero, with clear video explanations, exercises, and hands-on projects. Includes lifetime access and a 30-day money-back guarantee.

  • Instructor0:29

    Meet the instructor from the scientific programming school and discover how experts teach advanced scientific coding and Linux administration to solve real world problems in the regular expressions masterclass.

  • Interactive Shell for Practice Command Line REGEX0:36

    Explore an interactive shell to practice command-line regex, understand how the tool works, and stay engaged as you continue through the regular expressions masterclass.

  • Course Organisation2:10

    Master regular expressions by covering basics, character classes, anchors, grouping, backreferences, and lookarounds, then apply patterns to numbers, letters, and text across Bash, Python, C++, and Perl for text analysis.

  • History6:41

    Explore the history and fundamentals of regular expressions, a concise tool for matching text, tracing its evolution from early theory to modern text processing and analytics.

  • Tools for Regex6:13

    Learn how to test and apply regular expressions using regex101.com and Notepad++, explore editors like Sublime Text, Vim, and Emacs, plus regex use in Bash, Python, Perl, C++, and Java.

  • Regex characters7:04

    Learn how dots match a single character and how character classes and ranges select characters. Use start and end anchors, and quantifiers like ?, +, and * to control repetition.

  • Literals15:31

    Master literals in regular expression BASIX by learning how literal characters match exact text between forward slashes. Practice simple matches with letters and numbers on test strings, noting left-to-right matching.

  • Models13:31

    Explore the five basic regex models—global, case insensitive, single-line, multiline, and standard—together with syntax using slashes, and learn how global finds all matches while standard returns the first.

  • Metacharacters19:14

    Explore metacharacters in regular expressions, distinguishing literal characters from special ones, and learn how to escape them with backslashes to match digits, whitespace, and other patterns.

  • Wildcards and non-printables13:48

    Master wildcards and non-printables in regular expressions, using the dot to match any character except newline and escaping it to match literals like file extensions, with tab and newline sequences.

  • Character sets8:38

    Explore character sets (character classes) using square brackets to match a character from a set. See how ranges, digits, and the dot wildcard enable year patterns like 2014 to 2018.

  • Character ranges11:40

    Master how character ranges define a series of characters inside a set, using hyphens for ranges and literal hyphens when needed, to match uppercase and lowercase letters and digits.

  • Negating and escaping meta characters14:39

    Master negating a character class with a caret and escaping meta characters in regular expressions, using practical rules for hyphen, backslash, and closing bracket to ensure literal matches.

  • Shorthand characters4:32

    Explore shorthand characters in regex, including digits with \d, non-digits with \D, whitespace with \s, non-whitespace with \S, and word and non-word characters with \w and \W.

  • Quantifies and repetitions17:43

    Master repetition with quantifiers, including ? * + and optional groups, apply braces for exact or ranged repeats, and use word boundaries to refine matches.

  • Greedy and lazy matches16:45

    Explain greedy and lazy matches in regular expressions, show quantifiers default to greediness, and demonstrate making them lazy with ? or negated character classes to reduce backtracking and improve efficiency.

  • Anchors and boundaries11:44

    Explore anchors and boundaries in regular expressions, using start and end positions, word boundaries like \b and \B, and the roles of ^, $, and multiline mode to control matches.

  • Alterations12:27

    Explore alternation in regular expressions, using the pipe and grouping to match one of several patterns, with nested alternatives and examples like domains, filenames, and Toyota or Honda.

  • Groups and backreferencing11:28

    Master groupings in regular expressions by learning capturing and non-capturing groups, numbering groups including group zero, and using backreferences to match repeated text such as words or phone formats.

  • Lookarounds19:20

    Explores lookaround concepts in regular expressions, detailing positive and negative lookahead and look behind assertions, with practical examples of matching only when specific words appear before or after.

  • Eaxmple 17:00

    Analyze date data, break into columns, and build regex patterns per column, then combine with character classes, backslash d, quantifiers, escaping, and word boundaries.

  • Eaxmple 210:58

    Learn to craft regex patterns for postal codes, including five-digit and five-digit hyphen four-digit formats, with word boundaries, anchors, and optional uk variations.

  • Example 311:33

    Learn to craft a regex that validates ip addresses from 0 to 255 by splitting into 250-255, 200-249, and 0-199 ranges, escaping dots and using alternation.

Requirements

  • A browser and a text editor
  • For practical usage some knowledge of Python, Bash, JS, Perl and so on.

Description

8.5 HRS OF AWESOME FIVE STARS ⭐⭐⭐⭐⭐ VIDEOS!

This is the largest Regular Expressions (REGEX) course on the Udemy platform covering universal REGEX, meaning that the regular expression material you learn here will be applicable in most if not all regular expression engines: Bash, Python, Perl, Java, C#, JS, AWK, SED, GREP. We have included 100+ Examples in all languages in addition to general REGEX explanations. In computing, a regular expression, also referred to as "regex" or "regexp", provides a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters. A regular expression is written in a formal language that can be interpreted by a regular expression processor. In this course, we will start slow with the most basic regular expression functionality, like searching and matching, learning what each of the symbols do and how to use them to do what we need. After we learn the most basic things, we will start with more complex operations and real worlds solutions.

WHY REGEX?

  • Really clever "wild card" expressions for matching and parsing strings.

  • Very powerful but quite cryptic

  • Fun once you understand them!

  • A language of "marker characters" - programming with characters

  • It is kind of an "old school" language - compact

WHAT YOU WILL LEARN?

  • Basics

  • Character set

  • Repetitions

  • Anchors & Boundaries

  • Groups & Backreferencing

  • Assertions & Look arounds

  • Projects

  • Examples with languages: Bash, Python (Notebook included), Perl, C#, JS, C++ and so on

  • In this course with will demonstrate the Regex features of the REFGEX101 and Notepad++.

Based on your earlier feedback, we are introducing a Zoom live class lecture series on this course through which we will explain different aspects of REGEX. Live classes will be delivered through the Scientific Programming School, which is an interactive and advanced e-learning platform for learning scientific coding. Students purchasing this course will receive free access to the interactive version (with Scientific code playgrounds) of this course from the Scientific Programming School (SCIENTIFIC PROGRAMMING IO). Instructions to join are given in the bonus content section.


Q&A

Please use the Q&A feature on Udemy to ask questions! We'd love to talk about why regular expressions don't seem to be working, discussing decisions we made about course content, and debating regular expression philosophy.

Regular expressions are for anyone, but in reality, only those who deal with a lot of text will find an everyday use for them. It goes without saying that programmers need to know regex, but web developers/designers, data analysts, and researchers can also reap the benefits.

There’s no risk involved in taking this Course! This course comes with a 30-day money-back guarantee. Once you Enroll for this Course, you get lifetime access to this course and you will get all the future updates. you also get a Certification of Completion once you complete the course.

Who this course is for:

  • Anyone who wants to learn Regular Expressions(regex) inside out and apply them to solve day-to-day problems.
  • Programmers, Developers, or even anyone who deals with data like Data scientists, Researchers, etc.