JSFiddle - React, Tailwind, and code Playground

by Jose Montero

JavaScript

var windCaption = "Deal Journal (SOX), phoenix v5.10.0 [[email protected] Office=ALL]";
var str = windCaption.match("\\[(.*)@.*(emt.*)\\s+.*\\]");
console.log(str)