I have to use a regular expression to get the text after the last "/" and before "_completed" string.
For example if my input is :
http://localhost/project-1/uploaded_images/output//11-03-2013+11-09-2013/Brian_Brown_completed.jpg
I need to output "Brian Brown" is that possible with preg_match? Unfortunately I could not figure it out! How about the javascript is it possible there too?
If you need more clarification, please let me know!
EDITED:
Please note that in output I dont have underscore anymore!
Many thanks in advance,
preg_match.