Give us feedback
regex-how-to
Reactive icon

Regex How-To

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 04 October 2020 by 
4.4
 (5 ratings)
regex-how-to

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
Release notes (1.0.0)
Reviews (1)
by 
2 Mar
in version 1.0.0
Very useful for quick development.
Team