Skip to main content
edited tags
Link
Tim Pietzcker
  • 337.4k
  • 59
  • 520
  • 572

isIs it possible to create a regregular expression to allow non-ascii letters along with Latin alphabets, for example Chinese or Greek symbols(eg.A汉语AbN漢語 A汉语AbN漢語 allowed)?

I currently have the following ^[\w\d][\w\d_-.\s]*$^[\w\d][\w\d_\-\.\s]*$ which only allows Latin alphabets.

is it possible to create a reg expression to allow non-ascii letters along with Latin alphabets, for example Chinese or Greek symbols(eg.A汉语AbN漢語 allowed)?

I currently have the following ^[\w\d][\w\d_-.\s]*$ which only allows Latin alphabets.

Is it possible to create a regular expression to allow non-ascii letters along with Latin alphabets, for example Chinese or Greek symbols(eg. A汉语AbN漢語 allowed)?

I currently have the following ^[\w\d][\w\d_\-\.\s]*$ which only allows Latin alphabets.

Source Link
Farhad-Taran
  • 6.6k
  • 17
  • 70
  • 131

Regex to allow non-ascii and foreign letters?

is it possible to create a reg expression to allow non-ascii letters along with Latin alphabets, for example Chinese or Greek symbols(eg.A汉语AbN漢語 allowed)?

I currently have the following ^[\w\d][\w\d_-.\s]*$ which only allows Latin alphabets.