Searching and Extracting substring recursively with RegEx : <p>I'm wondering if there is a RegEx pattern to solve my problem.</p>

<p>I'm getting strings like:
"Running script A23jddie392.sql", 
"Skipped script ew223.sql", 
"Script 2234ffss321.sql has an error" 
and so on.</p>

<p>Is it possible to extract the scriptname with RegEx? Maybe searching for the .sql and then going recursively to the first blank before the scriptname?</p>

<p>Thank you! </p>
