RegEx Gone Wild in Python

Join us for a wild ride of regex in the land of Python!

Warning: RegExes may be hazardous to your mental health. Proceed with caution.

RegEx Party Menu:

RegEx Party Rules:

  1. Don't touch the matches.
  2. Don't look at the code.
  3. Don't think about the code.
  4. Repeat steps 1-3 until you're a RegEx expert.

RegEx Party Games:

import re s = 'Hello, world!' print(re.search(r'\w+', s))

Join us at the RegEx Sushi Bar for more RegEx fun!