Im using this currently :
/^(.*)\+(.*)@gmail.com/
(I’m capturing the text before and after the plus sign in a group)
and it works in most cases such as
test+test@gmail.com
but falls down if I try to match say
test+++test@gmail.com
The repeated + signs seem to screw it up.
Any help would be much appreciated.
Thanks
(.*?)\++(.*?)@gmail.comshould work.