i have this code:

s = "hi john'
re.serach(r'j\w+h', s).group()
and up to here there is no problem but i want to put the letter h in a str variable
l = "h"
re.search(r'j\w+'l, s).group()
but when i do this i receive an error??

you are missing + to concatenate variable to the string.