You need to sign in to do that
Don't have an account?
Ken S (OLD ACCOUNT)
Validation rule to search and replace entered text (string) in text field
Can someone tell me how to write a validation rule to search and replace entered text with other text? For example, if the string " Street, " exists in an address field, it should replace it with " St ". Likewise, replace " West " with " W ". So for example "129 West 81st Street, Apt 2" will become the standarsized USPS formatted "129 W 81st St Apt 2".
(We are currently not on the Household Account model yet so I can use address Google/Cicero/SmartyStreets verificaion APIs and am trying to find some ways to keep our address data somewhat clean in the meantime... Alternative suggestions welcome.)
(We are currently not on the Household Account model yet so I can use address Google/Cicero/SmartyStreets verificaion APIs and am trying to find some ways to keep our address data somewhat clean in the meantime... Alternative suggestions welcome.)
Do you want to write a workflow or process builder to replace the data ??
Can you explain you want validation to prevent or workflow to update the data
Write a validation rule to prevent .. you can use some regex to format the USPS formate
Use this reg exp