打开 关闭

How to use RegEx in ABP Suite? #271


User avatar
0
alper 创建
支持团队 Director

How can I use regular expression (RegEx)?


1 答案
  • User Avatar
    0
    alper 创建
    支持团队 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 v8.2.0-preview Updated on 三月 25, 2024, 15:11