ty-exexch-ko
asked on
Display arabic alphabet with Vb.Net
I'm use this statement to display english alphabet but I want to display arabic alphabet
Dim words As MatchCollection = Regex.Matches(text, "\b[a-zA-Z]+\b")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The VB version:
Dim text As String = "¿¿¿ ¿¿¿¿ ¿¿¿¿ ¿¿¿¿"
Dim words As MatchCollection = Regex.Matches(text, "[¿-¿]+")
ASKER
I will test this code and return back.
Here is an example--forgive me, I cannot read Arabic, so this may not make sense as I pulled it from the following site: http://www.shariahprogram.ca/Arabic-alphabet.shtml
Please note the structure of the code (I am including an image in case EE doesn't display the characters properly). It also seems that word boundary has an issue with Arabic script. I may be doing something incorrectly though. You'll have to experiment with that part of the pattern.
Open in new window
Untitled.png