regexEasy Playground

Drop-in replacement for re with additional features and Unicode support

Python Playground
Output
Click "Run" to execute your code

regex is a third-party package. Drop-in replacement for re with additional features and Unicode support. Install with: pip install regex

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?