I need to match only urls C and D.
Given I have these sites:
a. http://www.website.com/our-resources/news/?p=1
b. http://www.website.com/example/voice-of-the-customer/news/?p=12
c. http://www.website.com/our-resources/news/?p=123
d. http://www.website.com/example/?p=4321
e. http://www.website.com/example/products/touchchat/news/?p=12345
I was using .*\?((.*=.*)(&?[0-9]{3,4})) on www.regexpal.com and it's matching c, d and e.