How to explode string after \ in php : <p>I have a requirement where username is entered as <strong>textdev\userid</strong></p>

<p>I need to get the userid from this string,I have tried using explode but it's not working with "\".</p>

<p>Can anybody suggest me how to extract the userid from this string in php.</p>
