The best tool here is probably a regular expression. The tricks in this particular case are escaping the slash with a backslash (\/), Using character classes (particularly . or \S), and Extracting matches. Post some code once you've read the linked material and we'll help you debug. You should find the section Simple word matching particularly informative.
Comment on Re: have to Extract substring after '/' character