Scenario
Truncate the Company field on the Contact record to remove any numbers present on the Company field value
Solution
- Create an Entity Field
- Navigate to Customization > Lists, Records, & Fields > Entity Fields > New
- Label: Enter Label
Example: Truncated Company Value - Type: Select Free-Form Text
- Store Value: Remove Checkmark
- Click Applies To tab
- Contact: Enter Checkmark
- Click Display tab
- Subtab: Select Main
- Click Validation & Defaulting tab
- Formula: Enter Checkmark
- Default Value: Enter REGEXP_REPLACE({company},'1|2|3|4|5|6|7|8|9|0', '')
- Click Save