Question

4
Replies
179
Views
Close popover
Javier Zamora Calvo (jzamoraca)
Banco Credomatic SA

Banco Credomatic SA
CR
jzamoraca Member since 2018 7 posts
Banco Credomatic SA
Posted: June 15, 2018
Last activity: June 22, 2018
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
Moderation Team has archived post