Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log( /\w(?=@)/.exec('a!') );
- // null
- console.log( /\w(?=@)/.exec('a@')[0] );
- // a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement