http://www.perlmonks.org?node_id=457296


in reply to Word HTML issues

    How does that script work with all the # in it?

First, please don't replace your original content like that (i think the editors are going to fix it)--just reply to the replies instead..

Anyways, i think you're asking about my usage of things like s#foo#stuff# Because of how the operators (see perlop and perlre man pages), all of these are do the same thing:
s/foo/stuff/ s#foo#stuff# s!foo!stuff! s?foo?stuff?
In this case, i used s### instead of s/// for two reasons: