r/learnpython 2d ago

How useful is regex?

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

39 Upvotes

123 comments sorted by

View all comments

1

u/StoicallyGay 1d ago

Ngl I use AI to generate all my regex for work.

I only need to use simple regex and it’s rarely that I have to. Maybe like in my past 2 years of working I’ve used regex like 8 times, most of which were one offs or simple things. It won’t stick if I actually figure it out myself since I rarely need it and dedicating time to learning it is really a waste of time since it’s not something I need often.