Re: [Clip] Re: removing spaces and periods in a document
- abairheart wrote:
> --- In firstname.lastname@example.org, "Bryan Falk" <bryanfalk@...> wrote:Bryan,
>> I need to remove all spaces and periods in a document every day. I can
>> do this in excel via a macro, and was hoping that the clip library
>> would also be able to replace something with nothing, so to speak. Any
>> ideas how to do this?
>> From the menu, search-->replace, enter your search target,
> leave replace target blank
> In a clip, you can use a similar technique for the Replace command,
> just use a double delimiter between the target string and the modifiers
> at the end of the line.
> If you use StrReplace function, just use a double quote for the
> replace string (nothing between the quotes.
Here's a short 1 working line clip to do what you seek.
; load/focus file to work on.
; run this clip.
^!Replace "(\.)|(\s)" >> "" TIWHRSA
"Local High School Dropouts Cut in Half"
hrs ø hsavage@...