Generate a random string that matches a given regular expression.
A Mendix wrapper to the Generex library for generating random Strings that match a given regular expression.
- Pattern - A String with the regular expression the random string needs to match.
Returns a String that matches the passed pattern.
This action can throw an error if a bad Pattern value is passed to it, so remember to set error handling to catch and handle this appropriately.
The source code, examples, and unit tests can be found on https://github.com/robertprice/Generex.
When exporting the module from source make sure to include the .jar dependencies listed in the Dependencies section of this document.
Robert Price - Deck Chair Digital Ltd
Generex is licensed under the Apache License, Version 2.0.