Help me with regular expressions please!

It seems I am too dumb to understand how this works.. no matter how many tutorials I read, I’m still not able to produce something that is working.. I suck So what I would like to do is this: I have a domain and I would like that everything that comes after...