Regex How-To

Stable Version 1.0.0 (OutSystems 11)
Published on 04 October 2020 by 
Stable Version 1.0.0 (OutSystems 11)
Published on 04 October 2020 by 
Created on 04 October 2020

Regex How-To

Details
How to use regex both on client side (for reactive and mobile) and on server side (for traditional web or server side operations). Provides also testing capabilities (avoiding publish to test the error-prone regex syntax) as well as the most common scenarios such as email, credit card, phone number validation among others.
Read More

This component has 3 goals:

  • Show how to use Regular expressions for both client side (use in Mobile and Reactive) as well as server side (use in Traditional web and server side operations);
  • Provide testing capabilities - regex syntax is quite error-prone and may be a tiresome task to test it, having to go back to your code, publish and refresh dependencies so you can see if it works as desired. With this component, you have a sandbox to try out our matches both client and server side;
  • Provide the regular expressions for the most common scenarios:
    • Validate dates (DD/MM/YYYY) - validates also the leap day (February 29th);
    • Validate credit card numbers;
    • Validate phone numbers;
    • Get domain from URL;
    • Validate IP address;
    • Get only letters from expression;
    • Get only numbers from expression;
    • Get only numbers and letters from expression;
    • Validates if there is at least one letter, one number and one special character (typical password use case)
    • Gets everything between commas
Reviews (0)
Category
Demos & samples, Other demos & samples
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from João Marques who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform:
11.8.0.12006
Database:
All
Stack:
.NET
Component Consumers
No consumers yet.
Weekly Downloads