Extracting parts of a string with regular expression : <p>I've a bunch of strings that contains a pattern, which I want to extract.
It looks like the following:</p>

<pre><code>  str &lt;- "Regular Expression Language (AbcDfE-BB)"
</code></pre>

<p>So I would like two new columns, one with the "AbcDfE" part, and the other with the after - part, in this case "BB".</p>
