fork download
  1. var re = /@(\w+)/gm;
  2. var str = '@one two @three';
  3. var m;
  4.  
  5. while ((m = re.exec(str)) !== null) {
  6. print(m[1]);
  7. }
Success #stdin #stdout 0.4s 321920KB
stdin
Standard input is empty
stdout
one
three