Alternative to Positive Lookbehind
<p>I was trying to parse certain parts of a C code using regular expressions, for example:</p>

<pre><code>    }StructureTypeDef;
         AnotherType    HwChannelType;
</code></pre>

<p>The thing I want to match is "StructureTypeDef" after the "}" symbol (but not including it), and I know I can achieve this using </p>

<pre><code>(?&lt;=\})\s*\w+
</code></pre>

<p>But the issue is that js does not support this last statement. Can anybody help?</p>

<p>Edit: Thanks all for your answers but I should have told that I need to achieve this just by using a regex, since the parsing doesn't allow extracting strings, so I need an equivalence of the regex shown above I have tried many ways but without success. </p>