New to JMP? Let the Data Analysis Director guide you through selecting an analysis task, an analysis goal, and a data type. Available now in the JMP Marketplace!
Before opening the New Window check that there is a table open and if there isn't one, run stop();
If there are no matches, the last row will throw an error. You could either check selected row count and use stop() if it is 0 or show information to the user that there was no matches
<< Get Rows Where is mos likely faster than << Select Where
Some additional speed-up can most likely be gained by evaluating the column reference
<< On Validate could also be used if you wish to let user input new regex if the first doesn't have any matches