<div dir="ltr">
        
        
        
        <style type="text/css">P { margin-bottom: 0.08in; }</style>
<p style="margin-bottom:0in">Regexp
question: Is there a pattern that can match everything to left of first pattern?<br></p>
<p style="margin-bottom:0in">
</p>
<p style="margin-bottom:0in">(regexp-match #rx"x.*"
"12x4x6") ; => '("x4x6") ;returns everything
to right of first pattern x</p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in">(regexp-match #rx"___"
"12x4x6") ; => '("12x") ;returns everything
to left of first pattern x</p>
<p style="margin-bottom:0in">Thanks.</p><p style="margin-bottom:0in">Don Green<br>
</p>
<br></div>