Hi this is my keyword
BC1024 , AB124 , CBC2548 ,
using preg match to separate the number and character ,
For that i tried this preg match expression , but its not working greatly ,
preg_match_all('/(?P\w+): (?P\d+)/', $flight_code_no, $matches,PREG_PATTERN_ORDER);
i want output as
Array
(
[0] => BC1024: 2008
[name] => BC
[1] => BC
[digit] => 1024
[2] => 1024
)
But my preg match not working....
just shoing empty array,