Title |
Test
Details
Latitude, Longitude
|
Expression |
\-?(90|[0-8]?[0-9]\.[0-9]{0,6})\,\-?(180|(1[0-7][0-9]|[0-9]{0,2})\.[0-9]{0,6})
|
Description |
Parses Standard Latitude, Longitude notation for identifying earth co-ordinates (as per google maps etc). Allows values in format dd.dddddd,ddd.dddddd (lat, lng) where lat can be in range -90 to 90 and lng in range -180 - 180
|
Matches |
-89.999999,180|0.01234,-12.32|90,180|
|
Non-Matches |
-90.01,0.121|15.00001,181|90.1,-181
|
Author |
Rating:
PJWhitfield
|
Title |
Test
Details
EU VAT Numbers
|
Expression |
((ATU|DK|FI|HU|LU|MT|SI)[0-9]{8}|BE(0)?{8}|BG[0-9]{9,10}|(ES([0-9]|[A-Z])[0-9]{7}([A-Z]|[0-9]))|(HR|IT|LV)[0-9]{11}|CY[0-9]{8}[A-Z]|CZ[0-9]{8,10}|(DE|EE|EL|GB|PT)[0-9]{9}|FR[A-Z0-9]{2}[0-9]{8}[A-Z0-9]|IE[0-9]{7}[A-Z0-9]{2}|LT[0-9]{9}([0-9]{3})?|NL[0-9]{9}B([0-9]{2})|PL[0-9]{10}|RO[0-9]{2,10)|SK[0-9]{10}|SE[0-9]{12})
|
Description |
Each EU country has its own format for VAT numbers designated by the country code at the start, this pattern matches the code to the format.
|
Matches |
HR12345678901 | EE123456789
|
Non-Matches |
HQ12345678901 | EE12345A789
|
Author |
Rating:
Not yet rated.
PJWhitfield
|