Incorrect output due to regular expression
Your + is at the wrong position; your regexp, as it stands, would demand /John /Adam /Will /Newman, with a trailing space.
r'((/)((\w)+(\s))+)' is a little better; it will accept /John Adam Will, with a trailing space; won't take Newman, because there is nothing to match \s.
r'((/)(\w+(\s\w+)*))' matches what you posted. Note that it is necessary to repeat one of the sequences that match a name, because we want N-1 spaces if there are N words.
(As Ondřej Grover says in comments, you likely have too many unneeded capturing brackets, but I left that alone as it hurts nothing but performance.)
I had a pdf in which names are written after a '/'
Eg: /John Adam Will Newman
I want to extract the names starting with '/', 
the code which i wrote is :
names=re.compile(r'((/)((\w)+(\s)))+') 
However, it produces just first name of the string "JOHN" and that too two times not the rest of the name.