I "sanitize" some of my amazon.com URLs using CHS' Modify Format/Case functionality, changing things like:
http://www.amazon.co...thinghere&sr=8-1
to:
http://www.amazon.co...-Bono/dp/0316178314/
In my ClipboardHelpAndSpell\PresetFormats\ directory I have a filed named "SanitizeAmazonURL.preset.format", that contains:
[FormattingForm.rsPropSaver1]
acCheckGroupBoxAddEntire.Checked="false"
AddPrefixEdit.Text=
AddStuffCheckGroupBox.Checked="false"
AddSuffixEdit.Text=
ApplyCheckGroupBox.Checked="true"
ChangeCaseCheckGroupBox.Checked="false"
CheckBoxAddToBlanks.Checked="false"
CheckBoxEvenBetween.Checked="false"
CheckBoxFixedFont.Checked="false"
CheckBoxIndent.Checked="false"
CheckBoxJustify.Checked="false"
CheckBoxNewlineSentences.Checked="false"
CheckBoxNoSpacesInTrimLines.Checked="false"
CheckBoxPostAfterPrefix.Checked="true"
CheckBoxRemoveLinebreaks.Checked="false"
CheckBoxSearchCaseInsensitive.Checked="true"
CheckBoxSearchRegEx.Checked="true"
CheckBoxTrimExcessBlankLines.Checked="true"
CheckBoxTrimExcessWhitespace.Checked="true"
CheckBoxWordWrap.Checked="false"
CheckGroupBoxTrimLeft.Checked="true"
CheckGroupBoxTrimRight.Checked="true"
FindEdit.Text="^(.*\/)ref=.*$"
LabeledEditEntirePrefix.Text=
LabeledEditEntireSuffix.Text=
LeadingCheckGroupBox.Checked="false"
NumberEditWidth.Value=76
PostFormatCheckGroupBox.Checked="false"
RadioButtonInvertCase.Checked="false"
RadioButtonLowercase.Checked="false"
RadioButtonSentenceCase.Checked="true"
RadioButtonTitleCase.Checked="false"
RadioButtonUppercase.Checked="false"
RepEdit.Text="$1"
ReplacementCheckGroupBox.Checked="true"
StripLeadingEdit.Text="<,>,],["
StripperCheckGroupBox.Checked="true"
StripTrailingEdit.Text=
TrailingCheckGroupBox.Checked="false"
TrimLeftCountEdit.Value=0
TrimLineCheckGroupBox.Checked="false"
TrimRightCountEdit.Value=0