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

Please support RegExLib Sponsors

Sponsors

Advanced Search

Keywords

Category

Minimum Rating

Results per Page

Search Results: 8 regular expressions found.

   Displaying page 1 of 1 pages; Items 1 to 8
Title Test Details farsi lang
Expression
/([^\x00-\xFF]\s*)/u
Description
Matches persian(farsi) charctes from latin
Matches
سلام |میهن 123 |testدگر
Non-Matches
test121 | test 34243242 |all(...)
Author Rating: The rating for this expression. saeed arab sheybani
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 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
Title Test Details Persian Date
Expression
^1[34][0-9][0-9]\/((1[0-2])|([1-9]))\/(([12][0-9])|(3[01])|[1-9])$
Description
a simple expression to validate Persian dates.
Matches
1377/12/4 1388/4/31 1390/6/14 1389/03/1
Non-Matches
1290/12/2 1388/0/8
Author Rating: The rating for this expression. paiman roointan
Title Test Details Persian date (Jalali)
Expression
^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$
Description
Regular expression to validate Persian(Jalali) date, that supports days in month except isfand(espand) in leap years
Matches
1379/05/31,1379/6/3,1379/07/29,1379/10/30,1379/11/30,1379/12/30,1379/12/29
Non-Matches
1379/05/32,1379/6/0,1379/7/31,1379/11/31,1379/12/31
Author Rating: The rating for this expression. Vahid Mardani
Title Test Details unicode persian alphabet
Expression
^[\u0600-\u06ff\s]+$|[\u0750-\u077f\s]+$|[\ufb50-\ufc3f\s]+$|[\ufe70-\ufefc\s]+$|[\u06cc\s]+$|[\u067e\s]+$|[\u06af\s]$|[\u0691\s]+$|^$
Description
This Regex chceck an input string for persian unicode alphabet characters. For Example In C#.NET: Regex.IsMatch(Text, "^[\u0600-\u06ff\s]+$|[\u0750-\u077f\s]+$|[\ufb50-\ufc3f\s]+$|[\ufe70-\ufefc\s]+$|[\u06cc\s]+$|[\u067e\s]+$|[\u06af\s]$|[\u0691\s]+$|^$");
Matches
علی|علي |گچ |پژنگ| گچ پژی
Non-Matches
123|مهران 1| aعلی
Author Rating: The rating for this expression. Farzin Hamrahi
Title Test Details unicode persian alphabet And Numbers
Expression
^[\u0600-\u06ff0-9\s]+$|[\u0750-\u077f0-9\s]+$|[\ufb50-\ufc3f0-9\s]+$|[\ufe70-\ufefc0-9\s]+$|[\u06cc0-9\s]+$|[\u067e0-9\s]+$|[\u06af0-9\s]$|[\u06910-9\s]+$|^$
Description
This Regex chceck an input string for persian unicode alphabet characters. For Example In C#.NET: Regex.IsMatch(Text, "^[\u0600-\u06ff0-9\s]+$|[\u0750-\u077f0-9\s]+$|[\ufb50-\ufc3f0-9\s]+$|[\ufe70-\ufefc0-9\s]+$|[\u06cc0-9\s]+$|[\u067e0-9\s]+$|[\u06af0-9\s]$|[\u06910-9\s]+$|^$");
Matches
علی|علي 123 |گچ |پژنگ| گچ پژی 123
Non-Matches
aعلی| علی 12E
Author Rating: Not yet rated. Saeed Mokhtari
Title Test Details Persian Date (Jalali) all formats
Expression
^[1-4]\d{3}\/((0[1-6]\/((3[0-1])|([1-2][0-9])|(0[1-9])))|([1-6]\/((3[0-1])|([1-2][0-9])|(0[1-9])))|((1[0-2]|(0[7-9])|([1-9])|(0[1-9]))\/(30|([1-2][0-9])|(0[1-9])|([1-9]))))$
Description
Using this regex you can check any type of persian date
Matches
1376/12/12 | 1376/2/2 | 1376/02/2 | 1376/2/02 | 1376/02/02
Non-Matches
1376-12-12 | 136/12/12
Author Rating: The rating for this expression. Abolfazll poorali
   Displaying page 1 of 1 pages; Items 1 to 8

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