Commit 73165d66 authored by Almouhannad's avatar Almouhannad

(B) Fix arabic only regex

parent e615d150
...@@ -6,7 +6,7 @@ public static class ValidationRegularExpressions ...@@ -6,7 +6,7 @@ public static class ValidationRegularExpressions
=> @"^[\u0600-\u06ff\s]+$|^[a-zA-Z\s]+$"; => @"^[\u0600-\u06ff\s]+$|^[a-zA-Z\s]+$";
public static string ArabicLettersOnly public static string ArabicLettersOnly
=> @"^[א-׿ء-ي]+$"; => @"^[א-׿ء-ي\s]+$";
public static string EmailAddress public static string EmailAddress
=> @"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$"; => @"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment