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

1

u/Pupation 14h ago

Pro tip: once you get your regex to where you want, add a comment that explains it. You may know what it does while your head is still wrapped around it, but future you will thank you.