
Master regular expressions in Python to search, split, and substitute patterns in strings, with guidance on Unicode, ASCII, escape sequences, and cross-language regex support.
Explore how Python regular expressions work, from importing re and compiling patterns to using match, search, findall, and sub against strings; learn about pattern objects, groups, and common flags.
Learn to use module level functions and a compile object to compile regex patterns in Python 3 Unicode, reuse the pattern with find all, and avoid redundant compilations.
Explore regular expressions using find all with compiled patterns to locate text, learn match object properties like start, end, and span, and apply escape sequences, flags, and character classes.
Practice compiling a regular expression to match a source string and return a re.match object; inspect its string value and port the regex against the given source.
Explore searching versus matching in Python regex: match finds only at string start and may return None, while search scans the string for the first match using convenience module functions.
Explore using search and match in Python regex, leverage compile and finditer to iterate over all matches, and print each match from a sample source.
Explore using the dot any pattern to match any character, noting that match and search return the same results and speed; update your code to verify the dot and mask.
Practice Python line-matching metacharacters by applying masks to search source strings, demonstrating beginning and end anchors with caret and dollar sign, and explore multi-line behavior.
Combine multi line and ignore case flags to control cross-line matching in Python regex, and practice applying case sensitive versus insensitive patterns.
Explore how Python regex handles multiline matching with the dot, revealing extra end and empty matches, end-of-string concepts, and how to experiment with anchors like caret and dollar signs.
Explore advanced regular expressions in Python, using the pipe for alternation, backslash escapes, and character classes to anchor line endings and whitespace patterns in text.
Explore character classes in Python regular expressions by building a dynamic mask for \d, \s, and \w, then print a clear report showing decimal, space, and not alphanumeric results.
Discover how to build multi-match patterns with plus, star, and question mark wildcards in regular expressions, using character classes to group alphanumeric sequences such as twenty three.
Present greedy matching for regular expressions by reviewing alphanumeric sequences, literal new line, and the impact of 0-1 line endings using the question mark, plus the carrot and dollar sign.
Understand how Python regular expressions use binary expressions and character classes, with grouping via parentheses and left-to-right evaluation, for email and domain matching.
Master regex character sets with square brackets, building ranges like A–Z and 0–9, and using \s, \w, and \d; practice grouping and line-ending patterns.
Demonstrate various regular expression character sets and grouping techniques, using \s+ and \w+ patterns to match data such as phone numbers and emails, and print specific groups.
Examine regular expressions through wildcards like star, plus, and question mark, and explore greedy vs lazy matching, sets, and curly brace repetition to master data matching.
Apply curly brace quantifiers to match repeated digits like 666, combine grouping and alternation to match 5 or 6, and use one to three repetitions to demonstrate regex patterns.
This concept review revisits the 14 medic characters, backslashes, and the basics of Python regular expressions, including flags, character classes, and grouping.
Review regex techniques for decimal digit matching and repetition, handling area codes with optional spaces and parentheses, and building email patterns with RFC name portions and domain dots.
Develops pattern detection and replacement with Python regular expressions, including nested patterns and multi-pass parsing, using re.sub and re.subn to count substitutions.
Explore how Python's string split features compare, control maximum splits, and apply pattern-based splits to a set of contrived phone numbers, revealing surprising results.
Demonstrate greedy matching in splitting strings by a pattern, showing the first split and transitions to the next match. Explore multiline mode with carrot and dollar anchors and max split.
Explore advanced regular expression concepts, including lookahead and lookbehind, Python and Perl extension points, non-capturing groups, and inline comments to clarify complex patterns.
Explore look ahead in regex, triggering substitutions of x y z and removing X in matches, and practice a beginning-of-line checklist to mark items as done or not done.
Explore how looking behind in regular expressions changes notation and grouping, using an approach that treats space as part of a group, with emphasis on verification and traceability in Python.
Explore a three-group, group-names based regular expression approach to email matching, using extension points named domain and dot, with case-insensitive matching.
Learn to insert inline comments using Python style single-line syntax to document regex tasks, even without groups, use the find iterator to print interval matches with 1-based numbering.
Some like to read Regular Expressions - some like to write R.Es - but what can A.I make of them?
What is an "RE"?
Memorably designed as well as incredibly popular, it is no exaggeration to say that Regular Expressions (REs) predate the advent of almost every modern programming language; from Artificial Intelligence to data extraction and validation, nothing compares to the power of the Regular Expression! This Python 1000 training opportunity is designed for programmers that are interested in learning how to Regular Expressions (REs) to rapidly detect, filter, and manage lots of data.
Powerful enough to be part of every programming tool kit, as well as virtually every programmer's editor and countless console tools, when it comes to quickly understanding data, REs have dominated the data processing landscape for decades.
But with great power, often comes an even greater ability to leave you behind?
Because REs can be difficult to understand at first, our RE Training has been designed with new software developers in mind. To help build your confidence, this critical learning experience begins slowly.
Learning Experiences
Never a mere ‘type and talk,’ like all of our other hands-on training opportunities, this beginner's ("1000 level") training gradually allows you to practice what you have learned. Like our many other educational opportunities, our RE raining has been crafted with just-in-time review sessions, hands-on practice activities, challenger exercises, as well as bonus activities. Encouraging you to experiment with, as well as to push the limits of Pythons built-in RE support, the complete source code for each and every demonstration, as well as for each activity and solution, is provided.
Committed as we are to provide deeper learning experience, from mastering wildcards, escape sequences, greedy matches, character classes, set matching, match negation, group matching & naming, looking ahead and behind syntax, as well as even the modern Perl and Python Extensions, our RE educational opportunity covers the complete set of what you will need to know to become RE gurus on-the-job.
So while seldom taught in-depth, as well as even less frequently mastered, not only will our training on understanding Regular Expressions make your data detection, extraction, and management chores a lot easier, but mastering REs is a great way to impress future employers and other software developers, as well.
I hope you will enjoy this training opportunity. I am looking forward to seeing YOU in the professional software development world!