Extension Snippet: Remove Dots

Wow. That was easy! A super simple modification for your “Remove Spaces” extension, called “Remove Dots”

# popclip
name: Remove Dots
icon: square filled dot
javascript: popclip.pasteText(popclip.input.text.replace(/\./g, ''))
description: Remove dots from the selected text.

(The above block is an extension snippet - select it to install the extension with PopClip)

3 Likes

This demonstrates a very handy concept, I feel! I like the idea that this forum category can be a kind of educational resource, a cookbook of ideas that people can take and remix.

Loved this but for my usage I meeded a slight modification:

# popclip
name: Remove Dots
icon: square filled dot
javascript: popclip.pasteText(popclip.input.text.replace(/\./g, ' '))
description: Remove dots from the selected text.
2 Likes

I have needed this for at least 10 years. Thanks!

1 Like

3 posts were split to a new topic: Snippet for Generic Search & Replace