Wade Preston Shearer wrote:
>> Also, you might want to do ([^/]*) instead of (.*)
>>
>> ^([^/]*)/([^/]*)
> 
> Now we are getting somewhere. That works. The only problem now is that
> it is only returning "b" instead of "b/whatever/else/is/out/here/" as
> the value of $2.

Ah, missed what you were going for.

^([^/]*)/(.*)$

Orson

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to