stop words
Posted: Sun Dec 02, 2007 2:55 pm
I have the following expression to find any instance of the word painting that is followed by another word:
/((painting) \w+)/
I am trying to run the same expression with a list of stop words, so that it would not match "painting" if the following word is "of" or "by"
Any idea on how to do such a thing?
/((painting) \w+)/
I am trying to run the same expression with a list of stop words, so that it would not match "painting" if the following word is "of" or "by"
Any idea on how to do such a thing?