Question

4
Replies
173
Views
jzamoraca Member since 2018 7 posts
Banco Credomatic SA
Posted: 2 years ago
Last activity: 2 years 3 months ago
Closed
Solved

How call a variable in "edit Validate"?

I would like call a variable it have

String variableCRI="^[A-Z|a-z]{2}[0-9]{2}-[0-9]{5}-[0-9]{4}$";

or

String variableNIC="^[0-9]{4}-[0-9]{2}-[0-9]{4}$";

so, if i would like get the variable of Costa Rica i introduce the next code:
return java.util.regex.Pattern.matches(variableCRI,theValue);

but if is Nicaragua.

return java.util.regex.Pattern.matches(variableNIC,theValue);

sorry if i have a poor technical language , i began recently.

Best regards

Low-Code App Development Dev/Designer Studio Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn