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 1
Title Test Details Location cordinates
Expression
[NS] \d{1,}(\:[0-5]\d){2}.{0,1}\d{0,},[EW] \d{1,}(\:[0-5]\d){2}.{0,1}\d{0,}
Description
Latitude and longitude coordinates separated by a comma in the form: N 0:59:59.99,E 0:59:59.99 No restriction on degrees. Use split on comma to separate Latitude and Longitude then on colon and space for parts to convert into a decimal value.
Matches
N 50:54:44.99,W 4:59:11.0; N 38:55:02.90,W 76:59:31.19; N 22:16:42,E 114:09:32
Non-Matches
N 22:66:61,E 85:00:33; E 00:00:00.00,N 00:00:00.00; N00:00:00.00, E00:00:00.00
Author Rating: Not yet rated. binder hamlyn
   Displaying page 1 of 1 pages; Items 1 to 1

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