[Solved] How to Write Regular Expression for Indian Names [closed]
If you want to catch all strings containing only upper and lowercase characters, periods and spaces, you can use ^[a-zA-Z\. ]+$ Here’s a breakdown of how the regex works ^ matches the beginning of the string [a-zA-Z\. ] matches any character a-z, A-Z, or a period or space + makes the above match any string … Read more