regex find string and everything between code example
Example 1: regex match anything between
.*
Ex:
john.*
Example 2: Regular expression: Match everything after a particular word
re.search(r'(?<=test :)[^.\s]*',text)
.*
Ex:
john.*
re.search(r'(?<=test :)[^.\s]*',text)