On Wednesday, August 13, 2003, at 01:33 PM, Jim Witte wrote: > What kind of regular expression can I use to detect if a string is > entirely whitespace (space, tab, or return)? I tried "^([\s|\t|\n]*)" > but that didn't work. Will this work? "\A\s*\z" That forces the start and end as part of the pattern. Dar Scott