Skip to main content
The 2024 Developer Survey results are live! See the results

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.

4
  • 1
    What didn't you get with the end of the question : "with sed" ?
    – Moonchild
    Commented Sep 5, 2018 at 13:50
  • 1
    @Moonchild Googlers don't care. Commented Sep 5, 2018 at 13:59
  • 1
    i found this useful. not all command line regex problems need to be solved with sed.
    – PPPaul
    Commented Aug 14, 2019 at 22:58
  • 1
    thanks a lot, i actually needed this. thanks for ppl like who take a step back and provide alternate ways to solve the problem too - as SO is not just about precisely answering the asker. it's about tackling the problem with relevant closeness. Commented Dec 25, 2023 at 7:10