+ 1
split()Â method Split a string into a list where each word is a list item.
https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/ref_string_split.asp
re.match() function can be used to determine whether it matches at the beginning of a string.
re.search() finds a match of a pattern anywhere in the string.
re.findall() returns a list of all substrings that match a pattern.
https://www.sololearn.com/Course/Python/2475/?ref=app