JSFiddle - React, Tailwind, and code Playground

by vladkras

JavaScript

var str='System.out.println("hello")';
alert(str.replace(/System.out.println\(.*?\)/g, 'here was this code'))