got this code here:
it is used to clean up this:
but in the info i get this as an error and the code fails to work:
line = 72; message = "Invalid regular expression: nothing to repeat"; name = SyntaxError; sourceId = 237349720; sourceURL =
really annoying and seems to be a problem with actually using regex, your advice much appreciate.