Fish Wang says to YSITD
if (str.match(/..../)) { reply ........ }