Regex for match following strings
<p>I am new to regex I want to create regex for following</p>

<p>AL---><strong>accepted</strong><br>
AL100---><strong>accepted</strong><br>
100----><strong>accepted</strong><br>
100L---><strong>Rejected</strong><br>
AL1122---><strong>accepted</strong><br>
AL1224K--><strong>rejected</strong><br></p>

<p>Means either its AL or AL with numbers or only numbers</p>

<p>Below is my Regex which I have written but it's not working</p>

<pre><code>^AL[0-9]+$|AL
</code></pre>

<p>Please Help</p>

<p>Thanks</p>