daily pastebin goal
85%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var s = 'hhollliillpiiii';
  2. var sinvocales = s.replace(/[aeiouAEIOU]/g, '');
  3. console.log(sinvocales); // imprime "hhlllllp"
  4.    
  5. var s = 'hhollliillpiiii';
  6. var sinvocales = s.match(/[^aeiouAEIOU]/g);
  7. console.log(sinvocales); // imprime ["h", "h", "l", "l", "l", "l", "l", "p"]
  8.    
  9. /([^aeiou]{2,})/gi
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
 
Top