I think you need to pass the function the string you're searching in also matchText(stringToSearch,fld "findWhat") Mark On 11 Sep 2004, at 17:00, use-revolution-request at lists.runrev.com wrote: > How can I get a regex to take the search expression from a field? > This doesn't work > matchtext (fld "findwhat")