Remove Vertical Line(s)

Sorry for the delay but this should do it!

# popclip
name: Bar to Hyphen
icon: square filled |
javascript: popclip.pasteText(popclip.input.text.replace(/\|/g, '-'))
description: Replace vertical bars with hyphens

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

CleanShot 2022-03-23 at 12.55.19

1 Like