I'm trying to come up with a regular expression for a first name only that should not contain the following:
- Symbols, numbers, unusual capitalization or punctuation.
- Characters from multiple languages – meaning one cannot have the Latin/roman alphabet mixed. with Arabic script or Katakana Japanese script.
I tried this which I found on this platform '/^(?=.{1,50}$)[a-z]+(?:['_.\s][a-z]+)*$/i'
But it accepts DaVid, DaaaaaaaaaaVid when it should fail them.