SAP Knowledge Base Article - Public

2600312 - Regular expression for Mobile Number validation - Onboarding 1.0


Validation on Mobile number field is needed to avoid characters other than numeric.


SAP SuccessFactors Onboarding

Reproducing the Issue

Incorrect characters need to be restricted from entering in Mobile number field


Accepting mobile number : +123-5476577871, please add the below expression:

  1. Regular expression  : ^(\+\d{1,3}[- ]?)?\d{10}$
  2. it satisfy following conditions : accept + only in begining and space(or -) should be allowed only after country code (only once).
  3. Only 10 digit number should be allowed after country code.
  4. Country code should be optional.
  5. If country code doesnt exist, it should accept only 10 digit number


On boarding, OBD, SuccessFactors , KBA , LOD-SF-OBD-PAN , Panels, Panel Designer , Problem


SAP SuccessFactors Onboarding all versions