Symptom
How to configure a Regular Expression (reg-ex) for National ID format that would match a single character that is either a whitespace or a digit
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Employee Central
Resolution
- The syntax used for "National ID format" should be "N" which represents a number.
- The reg-ex should be [\s\d]{1} which matches a single character that is either a whitespace or a digit.
Example:
National ID Format: NN.N-NN
Condition: where the 3rd N should either be a whitespace or a digit
Reg-Ex: [\d]{2}.[\s\d]{1}-[\d]{2}
See Also
2668688 - National ID Card: How to create custom Regular Expression and Display Format
2472343 - How to Manage National ID Formats via Manage Business Configuration (BCUI)
Employee Central Country Specifics
Keywords
National ID Format, Regular Expression, Reg-Ex, national ID Card , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , How To