Hey guys..
This site has saved me on more than one occasion from losing all my hair, but this problem might just make me bald..
I'm trying to take a string from the URL and parse it to remove a leading number and '/' and i'm losing my mind!
to start with i've got to test to see if its actually in the string first, then if it is remove it. I've tried preg_match and got truely stuck..
bascially what i'm trying to look for is a string like:
5/page.php
and remove the number and / off the front but if the string shows:
page.php
to leave it alone..
any help?
Thanks!
Kai