JavaScript regex does not work

Updated JS regex - original did not find any matches in my code.