RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 3
Title Test Details Check Iranian's Mobile Numbers
Expression
(^(09|9)[1][1-9]\\d{7}$)|(^(09|9)[3][12456]\\d{7}$)
Description
This Regular Expression Chack Matching Persian Mobile Numbers It is Checking MCI,MTN Irancell and Talya Operators For Example In C#.NET: Regex.IsMatch(MobileNumber, "(^(09|9)[1][1-9]\\d{7}$)|(^(09|9)[3][12456]\\d{7}$)");
Matches
09122838473 | 9122838473 | 09369048504
Non-Matches
+989122838473 | 22248016 | 12345
Author Rating: The rating for this expression. Ali Delshad
Title Test Details Get Plain Text From Html (Remove Html Tags)
Expression
<[^>]*>
Description
This Regex Will Remove All Html Tags And Return Simple Plain Text . For Example In C#.NET : Regex.Replace(Html, "<[^>]*>", string.Empty);
Matches
<p> Hello Ali Delshad </p>
Non-Matches
Hello Ali Delshad
Author Rating: The rating for this expression. Ali Delshad
Title Test Details Check Farsi Unicode Character
Expression
[\u0600-\u06FF]
Description
This Regex chceck an input string for persian unicode character Note that it not work in javascript For Example In C#.NET: Regex.IsMatch(Text, "[\u0600-\u06FF]");
Matches
سلام | hello علی | Hi 2 سلام
Non-Matches
Hello | Ali | 123
Author Rating: The rating for this expression. Ali Delshad
   Displaying page 1 of 1 pages; Items 1 to 3

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials