JSFiddle - React, Tailwind, and code Playground

by Sahin Deniz

JavaScript

const str = "HELLO WORLD!";

console.log(str.replace(/[A-Z]/g, (a, b, c) => {
  console.log(a, b, c);
}));