Hi Charles,
Many thanks for your reply.
The issue I have is the $_GET['msg'] could contain any combination, like:
$GET['msg'] = "BA1234"; Will always start with some alpha characters, could be 2 or three, followed by a numbers, again could be 3 or 4 in length.
$GET['msg'] = "EZY1344";
$GET['msg'] = "AA1444";
$GET['msg'] = "BM1234";
$_GET['msg'] = "TCX321";
OR
$GET['msg'] = "Bus1,D,34"; // Will always be a combination, will always start with "bus" and followed by a number, and alpha then a number.
$GET['msg'] = "Bus18,F,16";
$_GET['msg'] = "Bus11,A,7";
OR
$_GET['msg'] = "1337987"; // this one will always be numeric.
Do you have any suggestions.