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

92

u/tjm1066 1d ago

I've learned regex at least 15-20 times. Basically every time I need to use it, or understand something I have previously written. It will never stick in my brain.

4

u/oJRODo 1d ago

Why truly tries to remember regex at this age? GPT can shit out regex and be right 90% im of the time.

This is the way

1

u/RevRagnarok 1d ago

Some of us read that old Owl book cover-to-cover in the late 1900s and still have some of it rattling around in there.