I am trying to handle Arabic strings.
I want to handle multiple spaces between two strings (i.e. first name, last name).
But the RegEx that I am using is valid only for 1 spacing between the first name and last name.
RegEx used:
/^[\u0600-\u06FF]+([ ][\u0600-\u06FF]+)?$/
Please suggest.