how can I use regex.replace for delimited text as getsubstring function apple yellow red blue white orange blue brown red yellow tabbed or other delimited ________________________________ From: Delphi Inspiration <delphi@xxxxxxxx> To: yunqa@xxxxxxxxxxxxx Sent: Tuesday, March 10, 2009 2:31:52 PM Subject: [yunqa.de] Re: RegEx replace Serkan sertan wrote: >I think more faster regex.replace than stringreplace >I need more faster replace. You want more speed? Well, the regular expression search and replace implementation of TDIRegEx.Replace2 is already carefully optimized for speed. I doubt that you will find a faster solution readily available. DIRegEx is very fast, but it can not do magic. Some things just take their time. If you have ideas about how to improve TDIRegEx.Replace2 performance, please share. If not, you will have to bear with what you have, be it DIRegEx, StringReplace, or any other search and replace library. Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa