Given an input string s = 'I1love143you55three3000thousand'. The input string s contains the digits 1, 143, 55 and 3000 and the substrings 'I', 'love', 'you', 'three' and 'thousand'. The digits are attached in the order found after the substrings. The output is 'Iloveyouthreethousand1143553000'. Given an input string s = 'AvengersOneTwoAssemble'. There are no digits in the input string. The output is 'AvengersOneTwoAssemble'. Given an input string s = 'thisis100percentnotagoodidea'. The input string s contains the digits 1, 0 and 0 and the substrings 'thisis', and 'percentnotagoodidea'. The digits are attached in the order found after the two substrings. The output is 'thisispercentnotagoodidea100'.
['I1love143you55three3000thousand'] ['AvengersOneTwoAssemble'] ['thisis100percentnotagoodidea']
'Iloveyouthreethousand1143553000' 'AvengersOneTwoAssemble' 'thisispercentnotagoodidea100'