On Wednesday, July 23, 2003, at 02:41 PM, Mark Powell wrote:


Is there any way to do wild card searches of the following pseudo-form?

Look at a bunch of text and delete all chunks bracketed by "!" and "/!
(for example, it should delete both !m/! and !030924/! and leave nothing
behind.


Thanks in advance

replaceText() takes a regular expression as it's 2nd parameter


put replaceText("xxxx!030924/!yyyy", "!.+/!", empty)
-- says xxxxyyyy

The ".+" means one or more characters. If you get a Perl reference you can see how to advanced regular expressions with Rev.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to