About 524,000 results
Open links in new tab
  1. re — Regular expression operations — Python 3.14.0 …

    2 days ago · Compile a regular expression pattern into a regular expression object, which can be used for matching using its match(), search() and other methods, described below.

  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 - GeeksforGeeks

    Jul 10, 2025 · Regular Expression (RegEx) is a powerful tool used to search, match, validate, extract or modify text based on specific patterns. In Python, the built-in re module provides …

  4. 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).

  5. Python Regex Cheat Sheet – Dataquest

    Download our Python regular expressions cheat sheet for syntax, character classes, groups, and re module functions—ideal for pattern matching.

  6. 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.

  7. Regular Expressions - Python Cheatsheet

    A regular expression (shortened as regex) is a sequence of characters that specifies a search pattern in text and used by string-searching algorithms.

  8. Python RegEx | Docs With Examples - Hackr

    Feb 26, 2025 · Learn Python Regex and how to use Regular Expressions (RegEx) in Python with the re module. Master pattern matching, searching, substitution, and text manipulation using …

  9. Python Regex Cheat Sheet: A Comprehensive Guide

    Jan 29, 2025 · Whether you're parsing log files, validating user input, or scraping data from web pages, a good understanding of regex can greatly simplify your tasks. This cheat sheet aims to …

  10. Regular Expression HOWTO — Python 3.14.0 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 …