topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 6:03 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Modify Format/Case: Sanitize Amazon.com URL  (Read 4124 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Modify Format/Case: Sanitize Amazon.com URL
« on: February 12, 2009, 12:38 AM »
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