^([^@]+)@ On Thu, Sep 17, 2009 at 8:25 AM, Paul Mooring wrote: > 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 >