I've been trying to learn UltraEdit, but I can't get this one feature to work. I'm trying to tag the existing text on a line in a replace operation so that I can duplicate it and put other stuff around the copies. According to the documentation on regular expressions, stuff between ^( and ^) on the FIND WHAT line of the REPLACE dialog is supposed to get tagged so that ^n on the REPLACE WITH line expands to the tagged text. N is a number from 1-9 indicating the specific tagged expression. The first one is 1, the second 2, etc. The documentation also says that * will match any sequence of characters except newline. So I tried FIND WHAT: ^(*^) REPLACE WITH: if exist ^1 del ^1 then selected a bunch of lines that each contain a single string. I expected a line containing "xxx", for example to be converted to "if exist xxx del xxx". However it complains that the search expression couldn't be found. This doesn't make any sense since * is supposed to match anything. Yes I have regular expressions enabled and Unix style disabled. There is a picture of the replace dialog at http://www.embedinc.com/temp/a.gif. What am I missing? ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist