Code: Select all
my_text := "Are our coastlines being washed away<Mushroom Coffee>Computer memories and quantum futures@Can we save the world's coral@Humanoid robots"
y := "<Mushroom Coffee>"
RegExMatch(my_text, y . "(.*)" . "@", &SubPat)
MsgBox SubPat[1]