import reregex = r"[A-Z]{3}-[0-9]{4}\s\w+\s\w+"resultado = re.findall(regex, "|Placa:AVX-4300 Fiat Uno |")print(resultado)
Standard input is empty
['AVX-4300 Fiat Uno']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!