http://qs321.pair.com?node_id=1202147


in reply to Re^3: Batch remove "404 Not Found" URLs
in thread Batch remove URLs

Thank you Ken! My apologies for the initial typos in the one-liner, it's been awhile since I've used this Perlmonks interface. Good suggestion on the span tags and CSS, I hadn't thought about that as I was really more focused on simply getting the text 404 Not Found to not be hyperlinked. I'll check out your script. Thanks again!

Replies are listed 'Best First'.
Re^5: Batch remove "404 Not Found" URLs
by kcott (Archbishop) on Oct 27, 2017 at 17:22 UTC
    "Thank you Ken!"

    You're very welcome.

    "My apologies for the initial typos in the one-liner, it's been awhile since I've used this Perlmonks interface."

    Fixing typos is, in itself, perfectly fine; however, please indicate what changes you've made. See "How do I change/delete my post?" for why and how.

    You can use the "preview" button as many times as you want before creating the post. This is actually the easier option: you still make the same changes but, as no one can see the post yet, it won't become messy with deletions using <strike> tags (e.g. original text, that turned out to be wrong, and now completely removed) and updates with <del> and <ins> tag pairs (e.g. original textcorrected text). You also won't need to write additional "Update: ..." paragraphs explaining the changes.

    — Ken