Now uses regex to find the train name