const arabicRegex = /^[\u0621-\u064A\040]+$/;
Above is the regex that I’m using for Arabic
>Solution :
You can modify the existing regular expression to include English letters by using the character class [a-zA-Z] along with the Arabic characters.
Here’s an example of the updated regular expression:
const arabicRegex = /^[\u0600-\u06FFa-zA-Z]+$/;