Need help with a regex (sed)

Posted by nimo9367 on Stack Overflow See other posts from Stack Overflow or by nimo9367
Published on 2010-05-19T09:57:02Z Indexed on 2010/05/19 10:00 UTC
Read the original article Hit count: 102

Filed under:
|

I want to transform a line that looks like this:

any text #any text# ===#text#text#text#===#

into:

any text #any text# ===#texttexttext===#

As you can see above I want to remove the # between ===# and ===# The number of # that are supposed to be removed can be any number.

Can I do this with sed?

© Stack Overflow or respective owner

Related posts about sed

Related posts about regex