[^abc] Any single character except: a, b, or c
But how can I make regex for any characters except sequence abc
So, something like that
"Hello abc awesome world".scan /[^(abc)]+/
Will return "Hello " and " awesome world".
PS: And it is not about splitting the string