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
Dave The RaveDave The Rave 

Regex code needs amending for Romanian telephone numbers


I have inheritated some code from an old webform which is als web-to-case, however Regex code does not match the vallidation we now require.

The above needs to accept spaces and 0040

e.g. +40 728 318 871

or 0040 728 318 871

Can anyone suggest what the code should be?


VinayVinay (Salesforce Developers) 
Hi Dave,

Try below combinations.