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 2
Title Test Details Latitude (decimal)
Expression
^-?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$
Description
[-90.000000 ... 90.000000] Decimal places: up to 6. You can increase precision by replacing {1,6} with {1,your_number}
Matches
-90; -90.0; -89.99; 0; 0.000; 89.99; 90.0; 90
Non-Matches
-100; -90.1; 90.01; 100
Author Rating: The rating for this expression. Zygimantas Berziunas
Title Test Details Longitude (decimal)
Expression
^-?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[1-7][0-9])(?:(?:\.[0-9]{1,6})?))$
Description
[-180.000000 ... 180.000000] Decimal places: up to 6. You can increase precision by replacing {1,6} with {1,your_number}
Matches
-180; -180.0; -179.99; 0.000; 179.99; 180.0; 180
Non-Matches
-200; -180.1; 180.1; 200
Author Rating: The rating for this expression. Zygimantas Berziunas
   Displaying page 1 of 1 pages; Items 1 to 2

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