![]() |
[php] trouble with regex
How would I go about matching something like this with regex:
Quote:
|
Well, if you know it'll always be in that format, you can just wildcard the degree sign.
/N (\d+). ([\d\.]+) W (\d+). ([\d\.]+)/ |
\yyy wil match octal if yyy is an octal number
\xdd will match hexadecimal if dd is a hex number so if the degree symbol is 167 or A7 hex, \xA7 should match your degree symbol. |
All times are GMT -8. The time now is 05:36 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project