My Tab in html keeps going back to the default when i submit my form

so when i press submit on my form in my 2nd tab, it automatically goes to the first tab, I would like it if possible for it to stay on the 2nd tab as i’m not able to view my information. Thank you. Below is my code: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1">… Read More My Tab in html keeps going back to the default when i submit my form

REGEX_String between strings in a list

From this list: [‘AUSTRALIA\nBELMONT PARK (WA’, ‘\nR3\n1/5/4/2\n2/3/1/5\nEAGLE FARM (QLD’] I would like to reduce it to this list: [‘BELMONT PARK’, ‘EAGLE FARM’] You can see from the first list that the desired words are between ‘\n’ and ‘(‘. My attempted solution is: for i in x: result = re.search(‘\n(.*)(‘, i) print(result.group(1)) This returns the error… Read More REGEX_String between strings in a list