How to write a regex for string matches which starts with @ or end with ,?

Viewed 33241

How to write a regex for string matches which starts with @ or end with ,. I am looking for a code in JavaScript.

3 Answers
Related