Sorry, did not mean match - match is pretty much like new RegExp - it also takes in a reg ex. I meant string.indexOf.