its a backreference.. to (#chr(10)##chr(13)#) following page will explain better then I can. http://www.regular-expressions.info/brackets.html
Tony Weeg wrote: > thank you umer... > > now, what does the \1 mean in the 3rd parameter? > > thanks. > tony > > > On Mon, 13 Dec 2004 19:02:10 -0500, Umer Farooq <[EMAIL PROTECTED]> wrote: > >>reReplace(string,'(#chr(10)##chr(13)#)|(#chr(10)#|#chr(13)#|#chr(32)#)','\1','all' >> >>Tony Weeg wrote: >> >>>so this reads: >>> >>>reReplace(string,'#chr(10)#|#chr(13)#|#chr(32)#','','all' >>> >>>replace all 10's 13's and 32's regardless of anything >>> >>>is there a way to say, dont remove where you find a (couplet) >>> >>>#chr(10)##chr(13)# >>> >>>just where you find either that arent together? >>> >> >>-- >>Umer Farooq >>Octadyne Systems >>[EMAIL PROTECTED] >>+1 (519) 772-5424 voice >>+1 (519) 635-2795 mobile >>+1 (208) 275-3824 fax >> >>LOOKING FOR A USED CAR IN IOWA VISIT: http://www.IowaMotors.com >> >>WARNING: ------------------------------- The information contained in >>this document and attachments is confidential and intended only for the >>person(s) named above. If you are not the intended recipient you are >>hereby notified that any disclosure, copying, distribution, or any other >>use of the information is strictly prohibited. If you have received >>this document by mistake, please notify the sender immediately and >>destroy this document and attachments without making any copy of any kind. >> >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187498 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54