getting a number using regular expressions : <p>I have the following string:</p>

<p>PR-1333|testtt</p>

<p>I want to get the number 1333 using regular expressions in javascript. How can I do that? </p>
