JSFiddle - React, Tailwind, and code Playground

JavaScript

var mystring = "2013-10-22T22:56:25.534Z";

console.log(mystring.replace(/T/, "\n"));