PHP Regular expression to extract data from a url source
<pre><code>URL: somedoamin.com/r?ammem/hlaw:@field(DOCID+@lit(hj0011))
</code></pre>

<p>How can I extract the didit after hj, that is 001;</p>

<p>The format will always be <code>@lit(hj&lt;integer&gt;))</code></p>

<p>Please help</p>

<p>I tried regular expression</p>

<pre><code>\s+(lit)\d+
</code></pre>