Hi,
I want to put a condition that text field only accept Hebrew charecter, I tried to find correct regex to validate hebrew text, but did not find.
Please suggest where can i find regex for hebrew text or is there any other way to do the same.
Thanks & Regards,
ShreeKrishna Tiwari
Discussion posts and replies are publicly visible
You could add a validation to check that all characters are Hebrew. I think there is no need for any regex.
https://unicode-table.com/en/blocks/hebrew/
This snippet checks whether a given string only consists of valid characters.
a!localVariables( local!string: "abcx", local!valid: "abc", len(cleanwith(local!string, local!valid)) = len(local!string) )
Thank you for quick response,
So The way You sugeested, do I need to put all 112 hebrew charecter in one string one by one?
If the characters are in a contiguous unicode range then you could write an expression to automate this.