Try:
/(@|at)/
This means either @ or at but not both. It’s also captured in a group, so you can later access the exact match through a backreference if you want to.
Try:
/(@|at)/
This means either @ or at but not both. It’s also captured in a group, so you can later access the exact match through a backreference if you want to.