function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Malik Butler 5Malik Butler 5 

Regex that hides data

I need to create a regex that hides fields after being entered. Some are text fields some are numbers is there anyone that can help?
VinayVinay (Salesforce Developers) 
Hi Malik,

You should define field as text (encrypted) field and for defined format you can use REGEX.

Review below link which gives you more information.

Also below is the link for limitations which we have on certain field to be encrypted.

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Vinay Kumar