I have a string that looks like this: $string = "s005219/Doe John|John.Doe\". How would I extract "Doe John" from this string without using substr since each string would have different length. For example the 2nd string would look like this: $string2 = ""s0052194/Doe Thomas|Thomas.Doe\". Thanks in advance for your help.
Thanks,
Jack