perl -i -pe 's#example.com/12.34.56.78#~example#g' * [download]
In reply to Re: Replace text - includes tilde sign? by gube in thread Replace text - includes tilde sign? by bobafifi