Help for this page
$data = "Johnson%Andrew%AX321%Engineer" ; $data = "Smith%John%BC142%Alberta";
print "$2 $1\n" if m/^(.*?)%(.*?)%A/;
Andrew Johnson ## output Ok John%BC142Smith ## Wrong