How to query String format using SOQL? December 6, 2018June 9, 2022InfallibleTechie Admin Sample SOQL: SELECT BillingPostalCode FROM Account WHERE BillingPostalCode != NULL AND BillingPostalCode LIKE ‘___-__’ Output: