Look at the second paragraph, I think it has what you
are looking for.
This is probably a really obvious question but how can I match
everything up to a character not including that character with regex? For
example:
person@email.tld => person
me@here.com => me