I am developing a website in php. I want to get a sub string in between two strings My main string is "ABCDEF\nABCDEFGH\nABCDEFGHIJ\nABCDEFGHIJKLM\n". I need to get the sub string in between last 2 \n s.(ABCDEFGHIJKLM)... Can you please help me for this issue.
Thanks Sateesh