updated regx that removes comments