RegEx Replace Text -- strip leading and trailing spaces

J. Landman Gay jacque at hyperactivesw.com
Wed Apr 13 16:45:52 EDT 2005


On 4/13/05 5:14 AM, Matt Denton wrote:

> I want a single RegEx expression using ReplaceText to strip out leading 
> and tailing spaces, leaving any spaces in the middle untouched.

For this particular case where you don't want to remove internal 
spacing, I like to use regular transcript:

  get word 1 to -1 of tSomeText

Easy, and no regex.
-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list