regex — Advanced Playground
Drop-in replacement for re with additional features and Unicode support
Python Playground
Output
Click "Run" to execute your codeThese advanced techniques unlock the full power of regex.
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?