Hi,We have a requirement wherein, the DCTs have to be in English (i.e. all items of a DCT) while the data entered can be in any other language. The issue is how to write the validations (e.g. regex), that cater to a specific laguage needs. To give an example, if the requirement is to restrict only alphanumeric characters in a text box then for English I can write a regex specifying characters like a-z, A-Z and 0-9. But if the same need to be checked for some other language, how can it be done?Thanks,Rahul
if (strval.match(/^\w+$/)){ // The string value contains only letters, numbers, and underscores}else { // some other characters exist in string value}
if (strval.match(/^[\w\s]+$/))
+
*
\\