Javascript pattern matching
<p>In a string if we know a start point .how to find the end string using js or jquery</p>

<pre><code>   var helper="$var_1__ee$var_2__ee";

    $var is the starting point and the end string pattern is ee

  How to split the string based on this pattern
</code></pre>
