Page 1 of 1

Extract keyword from string

Posted: Sun Feb 05, 2006 7:56 am
by mzfp2
HI,

Just looking to extract a keyword from the end of a string which is formatted in the following format

http://localhost/site/search/Keyword/

Keyword can be any alphanumeric string with spaces and commas

Hope someone can help

Many Thanks

Posted: Sun Feb 05, 2006 7:58 am
by feyd
no regex required: basename()

Posted: Sun Feb 05, 2006 8:01 am
by mzfp2
Feyd,

Thankyou that was lightening fast response, and it works a treat!