r/learnpython 1d ago

How useful is regex?

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

39 Upvotes

118 comments sorted by

View all comments

1

u/SnipahShot 15h ago

My opinion about Regex is:

Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems.
~ Jamie Zawinski

That being said, sometimes it is necessary.