Skip to main content
Introduction to Regular Expressions

    Introduction to Regular Expressions
    Introduction to Regular Expressions
    • Introduction to Regular Expressions
    • Key Points
    • Glossary
    • Learner Profiles
      Search the All In One page
      Introduction to Regular Expressions
      %
    • Instructor View

      Summary and Setup
      1. Regular Expressions: The pitch
      2. Shell wildcards - a type of regex
      3. Pattern matching with grep -E, part 1
      4. Pattern matching with grep -E, part 2
      5. Find... and replace! With sed.
      6. Regexs within text editors
      7. Python regular expressions
      8. R regular expressions

      • Key Points
      • Glossary
      • Learner Profiles

      See all in one page

      Regular Expressions: The pitch


      Figure 1

      Image 1 of 1: ‘Regex demo1’

      Regex demo1

      Shell wildcards - a type of regex


      Pattern matching with grep -E, part 1


      Pattern matching with grep -E, part 2


      Find... and replace! With sed.


      Regexs within text editors


      Python regular expressions


      R regular expressions



      This lesson is subject to the Code of Conduct

      Edit on GitHub | Contributing | Source

      Cite | Contact | About

      Materials licensed under CC-BY 4.0 by the authors

      Template licensed under CC-BY 4.0 by The Carpentries

      Built with sandpaper (0.16.10), pegboard (0.7.7), and varnish (1.0.5)


      Back To Top