1. "On this particular challenge, I am expecting many will use RegEx as a part of the solution"
Really?
2. "replace(/[^a-z0–9]/ig, '');"
If I were interviewing and a candidate did this I would ask if he/she knows what i18n is
Really?
2. "replace(/[^a-z0–9]/ig, '');"
If I were interviewing and a candidate did this I would ask if he/she knows what i18n is
also are you seriously going to quiz someone about i18n for a interview? does that really tell whether they are a hire/no hire?
Absolutely - in fact asking whether that regex was a good way of matching all characters in an input might be a good interview question.
It is often a positive signal that a candidate has worked on software large enough to be used internationally or is thorough enough to worry about it. For most of us, day-to-day software work is about being thorough and careful with design and implementation, not heavy algorithmic lifting