Hey, I am looking for a pattern that matches everything until the first occurrence of a specific character, say a ";" - a semicolon.I wrote this:\[code\]/^(.*);/\[/code\]But it actually matches everything (including the semicolon) until the last occurrence of a semicolon.