Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • I edited my question, if that is what you were look for? @Jesse_b Commented May 22, 2019 at 14:14
  • 1
    No it isn't. Should the script always delete the 1st and 4th comment or should it delete the comments literally named Comment 1 and Comment 4? Should it delete random comments? Is there any rhyme or reason to what you want to accomplish? Commented May 22, 2019 at 14:16
  • Oh sorry I understand you now. I need to be able to delete any comments that don't have a statement before or after the comment. @Jesse_b Commented May 22, 2019 at 14:20
  • So any comment that is not inline with code? Does this include multiline comments? Commented May 22, 2019 at 14:21
  • 1
    Relating unix.stackexchange.com/q/317795/117549 and unix.stackexchange.com/q/503784/117549 and unix.stackexchange.com/q/33131/117549 Commented May 22, 2019 at 14:22