Mark Gilbert's Blog

Science and technology, served light and fluffy.

String Cleaning

This little console application looks at the last item on the clipboard.  If it’s text data StringCleaning will strip out any formatting and push the “cleaned” version back on the clipboard to become the new latest entry.  Once the application has finished, simply paste (CTRL-V, Edit/Paste, etc.) as you normally would.

This saves having to paste the copied text into Notepad or another plain-text editor first to remove formatting, and then recopying the cleaned version manually.

Downloads
These need to be renamed from .JPG to .ZIP before extracting them:

Advertisements

2 Comments »

  1. […] written a small console app called StringCleaning that automates this cleaning process.  The magic line is as follows: If […]

    Pingback by Time for a little "String Cleaning" « Mark Gilbert’s Blog | April 7, 2008 | Reply

  2. […] in General. trackback Ok, unlike the previous post which was for an application I wrote called StringCleaning, I really did clean the blog up a bit.  I finally had so many static pages on my blog that it […]

    Pingback by Time for a little blog spring cleaning « Mark Gilbert’s Blog | April 7, 2008 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: