Look at the second paragraph, I think it has what you are looking for.
http://www.regular-expressions.info/
_____
From:
plug-discuss-bounces@lists.plug.phoenix.az.us
[
mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of Paul
Mooring
Sent: Thursday, September 17, 2009 8:25 AM
To: Main PLUG discussion list
Subject: RegEx question
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
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss