Using RegEx URLs to display PopUp

Hello,

We would like PopUp to display a particular popup when someone is on our blog pages.

The URLs are http://www.synekamarketing.com.au/blog
Or specific blog content which is of the format:
http://www.synekamarketing.com.au/year/month/day/title

I understand that RegEx should be able to do this so how can we write a RegEx that can match any four digit four, any month, any day and any title.