Getting NoneType error for entity values other than the one specified in Rasa-NLU training data

intent:update_details

can anyone help me in replacing ABCD1782R with regular expressions so that it will work for any value. Right now it is considering only ABCD1782R, if I am giving any other value then I am getting NoneType error for that entity if I am trying to access it using slots.