I had a similar problem, and realizing that the regular expression template will only check tags, I changed the tag to the part that interests you.
For example, I tried to match the name and version of the product and use a chunk rule, such as \ NNP + \ CD, that works for Internet Explorer 8.0, but crashes in Internet Explorer 8.0 SP2, where it is marked SP2 as NNP.
Perhaps I could train the POS token, but decided instead to just change the tag to SP, and then the chunk rule, for example \ NNP + \ CD \ SP *, would follow any example.
source share