Typescript Generate Random String Regex Online Java