Hey i'm trying to make a pattern that will convert a url with 2 dynamic parts such as
http://website.com/content/abcdefg/hijklmno
where abcdefg = the first dynamic part and hijklmno = the second dynamic part
this is what i have tried so far and it failed. Any help on the matter?
PHP Code:
http://[a-z]*?[\.]?website\.[a-z]*?/content/([A-Z0-9._%-]*)[&\w;=\+_-]*
I know im probably doing something very simple wrong somewhere.