Menu
Hi, I have a js code that looks for duplicate names and replaces them with another random one, and it work well.
The problem I am having is that it does not recognize names that I consider to be the same, even though they are not.
Some names have numbers at the end and other issues, so I want to create a code where I can list all of the names that I consider to be the same under one variable and then it should work.
For example, can I assign names like Jones1, Jones2, JonesAR, to a variable like JONES, and they could all be equal?
Thanks