title: How to write a regex for string matches which starts with @ or end with ,?
body: <p>How to write a regex for string matches which starts with <code>@</code> or end with <code>,</code>. I am looking for a code in JavaScript.</p>