SDMitch (Mitch?),
@sdmitch said:
Tried your code and found two problems.
if(reInc.match(cd)) needs to be if(reInc.match(cd.name))
Thanks for the catches. I edited & corrected the second post. I tested mine with a string array, not an array of cd's. Hence, no name prop.
@sdmitch said:
the prefix of the new name entered gets incremented as well.
That's why you had the new cd name assign at the end of the loop. That's why I shouldn't change code after I've tested it...
Thanks,
Greg