<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Clean a Corrupt Event From iCal</title>
	<atom:link href="http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html</link>
	<description>Java, ATG, Seam, and related Technologies</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:00:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-93366</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Fri, 28 Jan 2011 16:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-93366</guid>
		<description>Stephan,

in the find and replace dialog, there is a checkbox on the bottom left for &quot;Regular Expression&quot; which lets you use regex in the find and replace.</description>
		<content:encoded><![CDATA[<p>Stephan,</p>
<p>in the find and replace dialog, there is a checkbox on the bottom left for &#8220;Regular Expression&#8221; which lets you use regex in the find and replace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-93329</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Fri, 28 Jan 2011 13:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-93329</guid>
		<description>Hi,

Sorry for dummy question, but where to use the regex in text mate?? I tried in search and replace, but no go there??? Thanks for help!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Sorry for dummy question, but where to use the regex in text mate?? I tried in search and replace, but no go there??? Thanks for help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gite</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-53497</link>
		<dc:creator>Gite</dc:creator>
		<pubDate>Sat, 06 Mar 2010 20:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-53497</guid>
		<description>Chiming in a bit late here, but I found that the previous syntaxes either did not work in BBEdit Pro or occasionally selected across duplicate instances of the offending appointment and mistakenly erased legitimate calendar entries.  

The following syntax fixed the problem for me and got rid of 52,000 duplicate calendar entries that were fouling up my MobileMe sync and draining my iPhone&#039;s battery!  I&#039;m back to 2 solid days of usage between charges!

(^BEGIN:VEVENT)([^ ]*)(Name of bad iCal entry)([^ ]*)(^END:VEVENT$)</description>
		<content:encoded><![CDATA[<p>Chiming in a bit late here, but I found that the previous syntaxes either did not work in BBEdit Pro or occasionally selected across duplicate instances of the offending appointment and mistakenly erased legitimate calendar entries.  </p>
<p>The following syntax fixed the problem for me and got rid of 52,000 duplicate calendar entries that were fouling up my MobileMe sync and draining my iPhone&#8217;s battery!  I&#8217;m back to 2 solid days of usage between charges!</p>
<p>(^BEGIN:VEVENT)([^ ]*)(Name of bad iCal entry)([^ ]*)(^END:VEVENT$)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-42051</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Thu, 04 Jun 2009 00:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-42051</guid>
		<description>If you have trouble with the regexes on this page, I&#039;ve created a simpler way to clean your iCal files!

http://digitalsanctuary.com/tech-files/ical-cleaner.php

You should be able to upload your .ics file, enter one or more unique terms which are only found in the event you wish to be purged, and then hit submit.

You should get a page back that has a cleaned version of your calendar file.  Click &quot;View Source&quot; and copy that into a new .ics file by way of your favorite text editor, such as TextMate.  Always keep a backup, as I haven&#039;t tested the online cleaner very thoroughly yet!</description>
		<content:encoded><![CDATA[<p>If you have trouble with the regexes on this page, I&#8217;ve created a simpler way to clean your iCal files!</p>
<p><a href="http://digitalsanctuary.com/tech-files/ical-cleaner.php" rel="nofollow">http://digitalsanctuary.com/tech-files/ical-cleaner.php</a></p>
<p>You should be able to upload your .ics file, enter one or more unique terms which are only found in the event you wish to be purged, and then hit submit.</p>
<p>You should get a page back that has a cleaned version of your calendar file.  Click &#8220;View Source&#8221; and copy that into a new .ics file by way of your favorite text editor, such as TextMate.  Always keep a backup, as I haven&#8217;t tested the online cleaner very thoroughly yet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-41941</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Tue, 02 Jun 2009 03:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-41941</guid>
		<description>Well, Latin stumped me for two semesters so don&#039;t feel badly:)  You can e-mail it to me at devon@digitalsanctuary.com and I&#039;ll take a look.</description>
		<content:encoded><![CDATA[<p>Well, Latin stumped me for two semesters so don&#8217;t feel badly:)  You can e-mail it to me at <a href="mailto:devon@digitalsanctuary.com">devon@digitalsanctuary.com</a> and I&#8217;ll take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-41940</link>
		<dc:creator>Edward</dc:creator>
		<pubDate>Tue, 02 Jun 2009 02:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-41940</guid>
		<description>Devon,

I&#039;ve tried with just (Birthday) - doesn&#039;t work for me. Then again, I&#039;m clueless about these things - I&#039;m a Greek &amp; Latin teacher, heh. 

I don&#039;t mind you looking at my ics file at all! How do I get it over to you? Many thanks in advance!

Edward</description>
		<content:encoded><![CDATA[<p>Devon,</p>
<p>I&#8217;ve tried with just (Birthday) &#8211; doesn&#8217;t work for me. Then again, I&#8217;m clueless about these things &#8211; I&#8217;m a Greek &amp; Latin teacher, heh. </p>
<p>I don&#8217;t mind you looking at my ics file at all! How do I get it over to you? Many thanks in advance!</p>
<p>Edward</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-41909</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Mon, 01 Jun 2009 15:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-41909</guid>
		<description>Edward,

it could be an issue special characters (: or &#039;) making the regex unhappy.  Can you try with just (Birthday) in there?

I can take a look, but I&#039;m not sure if you want a stranger looking at your iCal file or not:)

Devon</description>
		<content:encoded><![CDATA[<p>Edward,</p>
<p>it could be an issue special characters (: or &#8216;) making the regex unhappy.  Can you try with just (Birthday) in there?</p>
<p>I can take a look, but I&#8217;m not sure if you want a stranger looking at your iCal file or not:)</p>
<p>Devon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-41708</link>
		<dc:creator>Edward</dc:creator>
		<pubDate>Thu, 28 May 2009 07:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-41708</guid>
		<description>Hi! I have one of these problems - I looked in the ics file and three birthdays I&#039;d deleted years ago had somehow replicated themselves and made over 7000 entries of themselves. Funny thing is, they don&#039;t appear when the calendar is loaded in iCal. Most of my calendars are less than 50k in size, but this calendar is now 2.8M and I&#039;m not quite that busy a man. Ironically, one of the birthdays is that of an acrimonious ex (talk about continuing annoyance). I&#039;ve tried opening the ics file in TextMate and BBEdit, but neither of the two search regexes seem to work for me - I keep getting a &#039;nothing found&#039;, even though I&#039;ve put the whole confounded &#039;SUMMARY:Whoever&#039;s Birthday&#039; into the (SearchTextHere) field. Any suggestions? It&#039;s making my iSync take three hours!</description>
		<content:encoded><![CDATA[<p>Hi! I have one of these problems &#8211; I looked in the ics file and three birthdays I&#8217;d deleted years ago had somehow replicated themselves and made over 7000 entries of themselves. Funny thing is, they don&#8217;t appear when the calendar is loaded in iCal. Most of my calendars are less than 50k in size, but this calendar is now 2.8M and I&#8217;m not quite that busy a man. Ironically, one of the birthdays is that of an acrimonious ex (talk about continuing annoyance). I&#8217;ve tried opening the ics file in TextMate and BBEdit, but neither of the two search regexes seem to work for me &#8211; I keep getting a &#8216;nothing found&#8217;, even though I&#8217;ve put the whole confounded &#8216;SUMMARY:Whoever&#8217;s Birthday&#8217; into the (SearchTextHere) field. Any suggestions? It&#8217;s making my iSync take three hours!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-35057</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Sun, 29 Mar 2009 15:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-35057</guid>
		<description>Cool, thank you!</description>
		<content:encoded><![CDATA[<p>Cool, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey</title>
		<link>http://www.digitalsanctuary.com/tech-blog/apple/how-to-clean-a-corrupt-event-from-ical.html/comment-page-1#comment-33985</link>
		<dc:creator>Jeffrey</dc:creator>
		<pubDate>Wed, 25 Mar 2009 03:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/?p=120#comment-33985</guid>
		<description>This was very helpful.  Thanks for posting this.  In case it helps someone else (or if I find myself searching for this again), I had to modify it work on my ICS file...  Here&#039;s the regex I used in TextMate:

(^BEGIN:VEVENT$)([^\t]*?)(searchTextHere)([^\t]*?)(^END:VEVENT$)

Thanks again!</description>
		<content:encoded><![CDATA[<p>This was very helpful.  Thanks for posting this.  In case it helps someone else (or if I find myself searching for this again), I had to modify it work on my ICS file&#8230;  Here&#8217;s the regex I used in TextMate:</p>
<p>(^BEGIN:VEVENT$)([^\t]*?)(searchTextHere)([^\t]*?)(^END:VEVENT$)</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 8/21 queries in 0.005 seconds using disk: basic
Object Caching 380/390 objects using disk: basic

Served from: www.digitalsanctuary.com @ 2012-02-08 13:16:06 -->
