how to match the character start with and end with in awk
<p>I am using awk. I have several names like</p>

<pre><code>rs123123789_G    rs9888_A     rs23789_GA rs23789_GASDFAS
</code></pre>

<p>I want to find the name start with rs and end with single character in awk (rs123123789_G, rs9888_A).
I tried use</p>

<pre><code>~/^rs[0-9]+[A-Z]$/
</code></pre>

<p>But it does not work.</p>