SrujankumargoudB Member since 2017 2 posts
Aaseya IT Services
Posted: March 28, 2019
Last activity: March 29, 2019

How to write an edit validate rule to validate text entered to only arabic with Space.

Hello Everyone,

This code will validate text entered to only Arabic with Space.

boolean retval = false;
if (theValue!= null ) {
java.util.regex.Pattern p =
java.util.regex.Pattern.compile("^[\u0621-\u064A ]*$");
java.util.regex.Matcher m= p.matcher(theValue);
retval = m.matches();
theProperty.addMessage("Enter a valid value");

return retval;

Case Management Developer Knowledge Share
Share this page LinkedIn