Question: 
Write a function to extract the maximum numeric value from a string by using regex.


Model's Code:
def extract_max(s):
    import re
    numbers = re.findall(r'\d+', s)
    return max(map(int, numbers)) if numbers else None



Sample Correct Code:
import re 
def extract_max(input): 
	numbers = re.findall('\d+',input) 
	numbers = map(int,numbers) 
	return max(numbers)


Asserts:
assert extract_max('100klh564abc365bg') == 564
assert extract_max('hello300how546mer231') == 546
assert extract_max('its233beenalong343journey234') == 343


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 832 of 974: 638/832 (76.6826923076923%): success