array.As i don't have a any general/common rule to due to different patterns,i guess the following assumption can yield the good results.
My assumptions are,
#. check the number of characters before the first "_" (underscore).
#. If it's return only two characters, then get the string untill it reach the second "_"(underscore) from the string
else if more than 2 characters then it must be a targetted pattern.
#. I guess i can't able to use the "\w" (word) pattern, because it will take the whole string as a word.
Thank you in advance.