Article View: pl.comp.lang.vbasic
Article #104367Re: [VBA] Word - usuwanie fragmentów tekstu zgodnie z wyrażeniem regularnym
From: InDesign Scripts
Date: Tue, 27 Oct 2009 19:22
Date: Tue, 27 Oct 2009 19:22
11 lines
1671 bytes
1671 bytes
>> nagraj sobie makro w WORDzie ;) > > Chciałbym jednak napisać. Doszedłem do czegoś takiego (regexpa > odpowiedniego sobie stworzę, tu tylko przykład): tylko ze jak nagrasz makro do wyszukiwania - to latwo mozesz je przerobic na pelte - i w tej petli przetwarzac kazdy element osobno ;) chociaz z drugiej strony ... jezeli ZAWSZE masz 3 linie ... i ZAWSZE jest taka sama struktura kazdej linijki ... to po co sie meczyc z RegExp'em ?? nie lepiej zrobic petle w ktorej bedziesz lecial "co 4'ty wiersz" i przetwarzal 3 kolejne ? robin
Technical Details
Message-ID:
<hc7h9d$lst$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<hc6et5$i0m$1@news.task.gda.pl> <hc6p0n$br4$1@news.task.gda.pl> <hc6uf8$c44$1@inews.gazeta.pl> <hc7dce$hc6$1@news.task.gda.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: InDesign Scripts <indesignscripts@gazeta.pl> Newsgroups: pl.comp.lang.vbasic Subject: Re: [VBA] Word - usuwanie fragmentów tekstu zgodnie z wyrażeniem regularnym Date: Tue, 27 Oct 2009 19:22:18 +0000 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 11 Message-ID: <hc7h9d$lst$1@inews.gazeta.pl> References: <hc6et5$i0m$1@news.task.gda.pl> <hc6p0n$br4$1@news.task.gda.pl> <hc6uf8$c44$1@inews.gazeta.pl> <hc7dce$hc6$1@news.task.gda.pl> NNTP-Posting-Host: host81-148-229-27.range81-148.btcentralplus.com Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1256671342 22429 81.148.229.27 (27 Oct 2009 19:22:22 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Tue, 27 Oct 2009 19:22:22 +0000 (UTC) X-User: indesignscripts X-Antivirus: avast! (VPS 091027-0, 2009-10-27), Outbound message In-Reply-To: <hc7dce$hc6$1@news.task.gda.pl> X-Antivirus-Status: Clean User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit