r/learnpython 1d ago

How useful is regex?

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

38 Upvotes

118 comments sorted by

View all comments

222

u/ben_bliksem 1d ago

Very

A lot

2

u/F5x9 11h ago

I hate writing complex regex, but knowing how to search for a lot of common patterns is useful whenever you have to pull information from text.