Search code examples
regexsed

sed: Can my pattern contain an "is not" character? How do I say "is not X"?


How do I say "is not" a certain character in sed?


Solution

  • [^x]
    

    This is a character class that accepts any character except x.