I am trying to create a regular expression that will find matches for select keywords both in front and after different phrases. I'll try to explain it.. for example:
I have three keywords: word1|word2|wor d3 that I want matched with three different phrases phrase1|phrase2 |phrase3
So I'd like the following to "hit"
word1 phrase1
phrase2 word 1
etc..
But I do not want word1,2,3 or phrase1,2,3 to be matched alone, and I'm trying to have this all done in a single string. Hopefully this makes sense to some of you out there... thanks!!
I have three keywords: word1|word2|wor d3 that I want matched with three different phrases phrase1|phrase2 |phrase3
So I'd like the following to "hit"
word1 phrase1
phrase2 word 1
etc..
But I do not want word1,2,3 or phrase1,2,3 to be matched alone, and I'm trying to have this all done in a single string. Hopefully this makes sense to some of you out there... thanks!!
Comment