TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Aktham Mahmoud
NA
720
37.4k
Problem in regex validation to match Arabic with English text
Apr 17 2021 2:13 AM
Greeting
I search long time and test many formula to validate Arabic character.
Sinario:
I have a form conatin a Text box (title) and another text box field (description)
I desigened a form to allow user to write in both languages (Arabic or English ) or in some time a paragraph conatining both of last langages.
first time I used this formula for my propose:
^[\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z]+[\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z-_]*$
Arabic letters & English letters only regular expression No Numbers ? | The ASP.NET Forums
But last fomulat 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 hapening?
thanks
Reply
Answers (
0
)
Design & develop a web application to maintain records of students.
Extraction list to filter different records from db in asp.net mvc