SHARE
TWEET

Untitled

a guest Nov 14th, 2017 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let input = "We start by HTML, CSS, JavaScript, JSON and REST.Later we touch some PHP, MySQL and SQL. " +
  2.     "Later we play with C#, EF, SQL Server and ASP.NET MVC.Finally, we touch some Java, Hibernate and Spring.MVC.";
  3.  
  4. printUppercaseWords(input);
  5.  
  6. function printUppercaseWords(input) {
  7.     let result = input.match(/\b[A-Z]+\b/g);
  8.     console.log(result.join(', '));
  9. }
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