Klaus, What Andre said. Nonetheless, if you want to continue down the regex path, try something like
get matchText(tText,"(?s)<" & tTag & ">(.*?)</" & tTag & ">",tValue) replace "<" & tTag & ">" & tValue </" & tTag & ">" with "<" & tTag & ">" & tNewValue </" & tTag & ">" in tText -- Mark Wieder _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode