$ 0 0 Eugene, I understand what you mean by : "([:|^:]|(?!:))" But why so complicated? use ":?" is easier to understand.