I am working on a search engine for bands and I want to make it so that the user doesn't need to type the article to find the band. So, for example, if someone wanted to find "The Black Keys," they could find them by typing "Bla," "Black Keys," "The Black Keys," or any variation like that. Here is what I have so far:
matcher = new RegExp( '^(?<=the)'+searchstring, 'i' );