Wild card searches
Mark Powell
Mark.Powell at veritas.com
Wed Jul 23 17:18:01 EDT 2003
Hi Alex:
Thanks for the pointer. However, it seems to be treat delimiters funkily,
assuming only one hit per line. (e.g. the following returns "apple xxxxx"
instead of "apple banana carrot xxxxx".
on mouseup
put "apple" & tab & \
"!nice/!banana" & tab & \
"!031110/!carrot" & tab & \
"!f/!xxxxx" into myBefore
answer replaceText(myBefore, "!.+/!", empty)
end mouseup
Any ideas? I want to delete _all_ occurrences of !<whatever>! strings.
Mark Powell
More information about the use-livecode
mailing list