Split the character vector into two parts : <p>Consider the following character vector of the length 1:</p>

<pre><code>l &lt;- "http://www.idealo.de/preisvergleich/OffersOfProduct/4983410_-iphone-se-64gb-spacegrau-apple.html"
</code></pre>

<p>I desire to split it into two parts, so that the first part should be:</p>

<pre><code>p1 &lt;- "http://www.idealo.de/preisvergleich/OffersOfProduct/4983410"
</code></pre>

<p>and the second one:</p>

<pre><code>p2 &lt;- "_-iphone-se-64gb-spacegrau-apple.html"
</code></pre>

<p>Surely, one must use regexp to solve the problem. Please could you give me some insight where I can learn manipulation with regular expressions easily. For any help I will be sincerely thankful.</p>
