3 Replies Latest reply on May 29, 2014 5:48 AM by happysailingdude

    How to get 'name' from 'name@domain.com' using cf reg ex?

    happysailingdude Level 1

      Hi everyone.

       

      I'm trying to get 'name' from 'name@domain.com' using cf reg ex.

       

      I've got this so far #rereplace('temp.emailaddress','[^@]+','')#

       

      which is giving me @domain.com - but I want the first part, can anyone point me in the right direction please?

       

      Thanks ever so much.

      Nick