How to validate and convert forward slash to start of url
<pre><code>var path1 = 'catalog/view/theme/default/image/flags/usa.png';

var path2 = '../catalog/view/theme/default/image/flags/usa.png';

var path3 =  '/catalog/view/theme/default/image/flags/usa.png';

var path4 =  '__catalog/view/theme/default/image/flags/usa.png';

var path5 =  '@catalog/view/theme/default/image/flags/usa.png';

var path6 =  '%catalog/view/theme/default/image/flags/usa.png';

var path7 =  '?catalog/view/theme/default/image/flags/usa.png';
</code></pre>

<p>What would the regex be to ensure and prefix / to the start of a url string
The result shoud be /catalog/view/theme/default/image/flags/usa.png</p>
