I want to extract 2 pieces of information from the URL below, "events/festivals" and "sandiego.storeboard.com".

How can I do that with a regular expression?

```
http://sandiego.storeboard.com/classifieds/events/festivals

```

I need this information for a URL rewrite in IIS 7