Regular Expression for National ID Format that matches a single character that is either a whitespace or a digit (2024)

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

  1. The syntax used for "National ID format" should be "N" which represents a number.
  2. The reg-ex should be[\s\d]{1} whichmatches 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 awhitespace or a digit
    Reg-Ex:[\d]{2}.[\s\d]{1}-[\d]{2}

Regular Expression for National ID Format that matches a single character that is either a whitespace or a digit (1)

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

Product

SAP SuccessFactors HXM Suite all versions

Regular Expression for National ID Format that matches a single character that is either a whitespace or a digit (2024)
Top Articles
Latest Posts
Article information

Author: Madonna Wisozk

Last Updated:

Views: 6622

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Madonna Wisozk

Birthday: 2001-02-23

Address: 656 Gerhold Summit, Sidneyberg, FL 78179-2512

Phone: +6742282696652

Job: Customer Banking Liaison

Hobby: Flower arranging, Yo-yoing, Tai chi, Rowing, Macrame, Urban exploration, Knife making

Introduction: My name is Madonna Wisozk, I am a attractive, healthy, thoughtful, faithful, open, vivacious, zany person who loves writing and wants to share my knowledge and understanding with you.