tag:blogger.com,1999:blog-8544609315733972726.post-12293978553260313762008-01-24T19:56:00.000-07:002008-01-24T19:56:00.000-07:00Anonymous,I could see how that is confusing. The ...Anonymous,<BR/><BR/>I could see how that is confusing. The $1 refers to the first group in parenthesis. There is only one group, so $1 is correct. <BR/><BR/>If the search expression were ([0-9]{3})-([0-9]{2})-([0-9]{4}) the replacement could be XXX-XX-$3 and produce the same results. <BR/><BR/>I did forget the closing parenthesis, so I'm glad you encouraged me to take another look.<BR/><BR/><BR/>AndrewAndrew Zhttp://www.blogger.com/profile/10108637160465346326noreply@blogger.com