RegEx skip word
<p>I would like to use regular expressions to extract the first couple of words and the second to last letter of a string.<br>
For example, in the string </p>

<pre><code>                       "CSC 101 Intro to Computing  A  R"
</code></pre>

<p>I would like to capture</p>

<pre><code>                        "CSC 101 A"
</code></pre>

<p>Maybe something similar to this </p>

<pre><code>                 grep -o -P '\w{3}\s\d{3}*thenIdon'tKnow*\s\w\s'
</code></pre>

<p>Any help would be greatly appreciated.</p>