Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Regular Expressions (Regex) for the Absolute Beginner!
Rating: 4.7 out of 5(207 ratings)
5,692 students

Regular Expressions (Regex) for the Absolute Beginner!

This course takes you from zero to a level where you are confident in creating your own regular expressions!
Created byRisal Nasar
Last updated 4/2021
English
English [Auto],

What you'll learn

  • Regular Expressions (Regex) - How to formulate them
  • How to use regular expressions to search and find almost anything under the sun! (textual data ofcourse ;) )
  • Key Concepts in Regular Expressions
  • Confidence to author Regular Expressions

Course content

3 sections49 lectures1h 0m total length
  • Regular Expressions - Introduction0:15

    Explore the core concepts of regular expressions and learn to write your own regular expressions.

  • Metacharacters1:36

    Learn how regular expressions define text patterns to search, validate, extract, and transform data such as emails and phone numbers, and explore metacharacters with their special meanings.

  • Square Brackets and Caret Within4:46

    Explore square brackets and caret within regex to build character classes, ranges, and negation, with practical demonstrations of matching letters, spaces, and punctuation.

  • Caret, Dollar Sign, Round Brackets, Curley Brackets4:58

    Explore anchoring with caret and dollar sign, grouping with round brackets, and repeating with curly brackets to specify counts, including start- and end-of-line matching.

  • Pipe2:32

    The lecture demonstrates using the pipe character for alternation in regular expressions, matching patterns like eat or eight, and combining options inside brackets to match spaces or commas.

  • Plus, Star3:46

    See how the plus and star operators in regular expressions match repeated characters or groups, with examples using pipes, curly braces, and zero or more repetitions.

  • Dot2:51

    Discover how the dot matches any single character, how dot followed by a star captures any string or line, and how greedy matching uses square brackets and pipes.

  • Question Mark, Back Slash2:21

    Explore the question mark to match zero or one occurrences and learn how backslash escapes metacharacters like dollar signs and square brackets in regex.

Requirements

  • Basic IT Knowledge
  • Ability to follow instructions

Description

This course explains the basic concepts of regular expressions and how they could be used for pattern matching to match almost any kind of textual data.

The course is structured in the below manner:

  • Basic Concepts - Metacharacters and their usage.

  • Challenges and Walkthrough - Practical Challenges for you to attempt your skills at Regular Expressions. Detailed walk through of solution. Examples include different kinds of data in table delimited format, json and xml.


By the end of the course, you would be confident to create your own regular expressions!


Post any questions you may have and the instructor will get back to you the soonest!


Happy Learning and All the Best!

-----

What are Regular Expressions?

Regular Expression, or regex or regexp in short, is extremely and amazingly powerful in searching and manipulating text strings, particularly in processing text files. One line of regex can easily replace several dozen lines of programming codes.

Regex is supported in all the scripting languages (such as Perl, Python, PHP, and JavaScript); as well as general purpose programming languages such as Java; and even word processors such as Word for searching texts. Getting started with regex may not be easy due to its geeky syntax, but it is certainly worth the investment of your time.

Regular expression synax varies slightly between languages but for the most part the details are the same. Some regex implementations support slightly different variations on how they process as well as what certain special character sequences mean.

Who this course is for:

  • Anyone curious about regular expressions
  • Anyone wondering how they could create their own regular expressions for pattern matching