• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

remove multiple ||

Hi all

I need a regex that will remove mutiple |||||

Example: |||||data|data|||data|data||

Result: |data|data|data|data|
0
blnukem
Asked:
blnukem
1 Solution
 
ozoCommented:
s/\|+/|/g
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now