Regular expression or regexp can be used in Automation to filter contacts.
In Automation regexp must be SQL type.
It could be useful to gather contacts living in the same area (zipcode).
In Automation there is no option filter "starting by". In that case a regexp will allow to filter contact in that way.
Example below : regroup contacts that have a zipcode starting by 74