How do I match everything after @ until space?
<p>I have this string:</p>

<pre><code>var str = 'این یک @پیا.م تست است';
// I want this     ^^^^^
</code></pre>

<p>I can select it like this:</p>

<pre><code>/@(.{5})/
</code></pre>

<p>But it isn't what I need, because the length of that word which is after <code>@</code> and before space <code></code> isn't always <code>5</code>. I really don't know why <code>\w</code> doesn't matches Persian characters. Or even <code>[a-zA-Z]</code> doesn't work either.</p>

<p>Well, how can I do that?</p>