Regular Expression for matching Hex a0 two capital letters then a0
Posted on 2008-10-31
Trying to write a Perl Regular to accomplish the following given:
LAKE ST LOUIS MO 633671348
the spaces are not normal HEX 20, but are in fact HEX A0...
I am trying to parse this type of string to City, State, Zip fields...
The state isn't always MO this is just an example.
I suck at complicated regular expressions.
I tried /\xa0[A-Z][A-Z]\xa0/ but doesn't seem to work right.
Any help greatly appreciated!