User-1665696529 posted
Greeting
I search long time and test many formula to validate Arabic character.
Scenario describe:
I have a form contain a Text box (title) and another text box field (description)
I designed a form to allow user to write in both languages (Arabic or English ) or in some time a paragraph containing both of last languages.
-Text box mode(Multiline).
-Accept (Arabic & English) with spaces and new line(Enter).
first time I used this formula for my propose:
I followed that post
- ^[\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z]+[\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z-_]*$
But last formula not work correctly.
I moved to another formula like this
- ^[\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z\s\w*]
and problem still as it.
what anyone have an idea to describe what happening?
thanks