NB: The above is untested code typed directly into my browser.
Corrected.
In reply to Re^3: Defining substring matches by BrowserUk in thread Defining substring matches by drhicks