About 75,100 results
Open links in new tab
  1. Regular Expression HOWTO — Python 3.14.2 documentation

    2 days ago · Regular expressions (called REs, or regexes, or regex patterns) are essentially a tiny, highly specialized programming language embedded inside Python and made available through the …

  2. Python RegEx - W3Schools

    A RegEx, or Regular Expression, is a sequence of characters that forms a search pattern. RegEx can be used to check if a string contains the specified search pattern.

  3. Python RegEx (With Examples) - Programiz

    In this tutorial, you will learn about regular expressions (RegEx), and use Python's re module to work with RegEx (with the help of examples).

  4. Python RegEx - GeeksforGeeks

    Aug 14, 2025 · This Python code uses regular expressions to search for the word "portal" in the given string and then prints the start and end indices of the matched word within the string.

  5. Python regular expression cheatsheet and examples

    Jun 9, 2025 · This blog post gives an overview and examples of regular expression syntax as implemented by the re built-in module (Python 3.13+). Assume ASCII character set unless otherwise …

  6. Python Regular Expressions: A Comprehensive Guide with Examples

    Apr 5, 2025 · Regular expressions (regex) are a powerful tool in Python for pattern matching and text manipulation. They allow you to define search patterns that can be used to find, extract, or replace …

  7. Regular Expressions: Regexes in Python (Part 1) – Real Python

    In this tutorial, you’ll explore regular expressions, also known as regexes, in Python. A regex is a special sequence of characters that defines a pattern for complex string-matching functionality.

  8. Python Regular Expressions: Regex Explained with Examples

    Nov 6, 2025 · Python, being a highly versatile language, provides an efficient mechanism to deal with strings through regular expressions or regex.

  9. Python Regular Expressions with 10 Examples | FOSS Linux

    Nov 6, 2023 · In this article, we will explore the “re” module and its methods, and how they can be used to perform regular expression operations in Python. Through ten examples, we will demonstrate how …

  10. Python RegEx - Regular Expression Tutorial With Examples

    Dec 6, 2025 · In this tutorial, we shall look at this game-changer called Regular Expression or Regex in short. Before we actually look at regular expressions, let’s see how we can find a phone number in a …