Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  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+)+(.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement