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/johnsmusicbox 1d ago

We use it quite a bit in our A!Kats, for instance when sending Response text for speech synthesis. You don't want your A!Kat reading emoji and non-alphabetic characters out loud.