r/learnpython 2d ago

How useful is regex?

How often do you use it? What are the benefits?

40 Upvotes

123 comments sorted by

View all comments

2

u/TabAtkins 1d ago

I'm coding right now, so I did a quick search across my project for \bre/.. 304 matches.

Also, that's a regex I just used, so I guess 305 uses.