Back to feed

More Regex Tools in Python

Real Python
More Regex Tools in Python

EDITOR BRIEF

This article explores Python’s `re` module functions for searching, substituting text, and other regex tasks. It also covers compiled patterns and match objects.

INSIGHTS

These tools help you find and transform text more effectively. Try using `re.search` to locate a pattern, then inspect the resulting match object.

CodeFriends courses that build on this story. Practice in the browser with nothing to install.

COMMENTS

0/40
0/2000

Loading comments…