SHARE
TWEET

Untitled

a guest Jun 25th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const paragraph='aabbbcddg';
  2. console.log(paragraph.match(/(.)1{1}/));
  3.      
  4. const paragraph='aabbbcddg';
  5. console.log(paragraph.match(/[.]{1}/));
  6.      
  7. ^(?:(.)1+)+(.)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top