What should be the regex to match the start of a string
<p>I have a string something like and I want to match just the first '{' of every <code>{{xxxx}}</code> pattern</p>

<p><strong>{</strong>{abcd}}<strong>{</strong>{efg}}<strong>{</strong>{hij}}</p>

<p><strong>{</strong>{abcd}}<strong>{</strong>{efg}}<strong>{</strong>{hij}}<strong>{</strong></p>

<p>I tried with <code>/(\s|^|.){/g</code> but this pattern matches</p>

<p><strong>{</strong>{abcd}<strong>}{</strong>{efg}<strong>}{</strong>{hij}}</p>

<p>Can some one guide me in the right direction</p>