I've been trying to use regex to determine if the current URL matches to either http://test.com or http://test.com/page/[0-9]+
I've been looking at countless of tutorials but couldn't find any that tackled anything even remotely such as this. I've tried just about everything but I'm just too inexperienced with regex to get it going.
Thank you for your help and I hope you could point me in the right direction.