I have this piece of text:
W/NNP Yes/NNP Get/NNP Paid/NNP for/IN Going/NNP to/TO College/NNP !/. Check/NNP it/PRP out/RP here/RB !/. http/NN :/: //sldollar.notlong.com/JJ apple/NN iphone/NN TGIF/NNP swine/NN flu/NN
I am currently using this regex to capture some regions of interest:
[a-zA-Z]*/NN[PS]* [a-zA-Z]*/NN[PS]*
I am using RegexPal to test this.
This captures TGIF/NNP swine/NN
but not swine/NN flu/NN
. Any suggestions on how to fix my regex to capture this?