Open Closed

How to use RegEx in ABP Suite? #271


User avatar
0
alper created
Support Team Director

How can I use regular expression (RegEx)?


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    The regular expressions can be used in String properties. For example, let's define a zip code validation. Zip code must be 5 characters length decimal. Use the following expression to validate this rule.

    Regular expression:

    \d{5}
    

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15