I have user inputs such as these
paul vs Team Apple Orange
Team Apple Orange vs paul
Team Apple Orange v.s. paul
I need to write a regular expression that detects the words on both sides of the seperator (vs,vs.,v.s.) and store the side with the keyword "team" to variable team and the other to name.
name = "paul"
team = "Apple Orange"