Trying to help grab unique emails for a contest and have a few people using the gmail + symbol trick to get around it. I'm trying to get a clean way to filter the email so it removes everything in between the + and @ symbol so that:
tester+dn2934u2@gmail.com
becomes:
tester@gmail.com
So far I have:
\+(.*?)\@
which removes the + and @ symbols. Is there a way (and I'm sure there is) to tell regex to keep the @ character so I don't need to re-add it, replace it, or some other trick?