The input I got:
data = 'VALUE - TRIP NAME: LOSANGELES45 US - UNITED STATES-9876543210:TRIP NAME: LOSANGELES45'
Expected output:
result = LOSANGELES45
I need to print out the LOSANGELES45 from the above string. The TRIP NAME will be a static value and the LOSEANGELES45 will be a dynamic value. How can I achieve this in python 3.7?