Regular expressions are one of the classic examples of hate and hate relationships. Yes, itโs not a typo; hate and hate. Do you know anyone who loves or knows how to write moderately complex regex?
Still, undeniably, regular expressions are useful and powerful.
In my recent article, I showed an example of using Regular Expressions to filter #EventStoreDB subscriptions by event types. That helps to more efficiently get notifications about new events.
https://event-driven.io/en/filtering_eventstoredb_subscriptions_by_event_types/