list = ['the dog ran', 'tomorrow is Wednesday', 'hello sir']
I want to search for the element containing the word Wednesday and replace that element with a line break at the beginning. So:
new_list = ['the dog ran', '/ntomorrow is Wednesday', 'hello sir']
Any help would be great. Everything I've tried has not worked. Thanks.