Wednesday, 2 October 2013

extract string after the first special character

extract string after the first special character

I have this string below:
foob/site?article=foo-title&id=12
how can I get the foo-title from the above string using regex? A short
solution would be appreciated.
Note: the foo-title could be any title.

No comments:

Post a Comment