Regex "Not starting 'C'" case insensitive? -


can me out single line regex this?

currently using:

^(?!c).* 

but need alternative won't work system.

cheers!

you can use :

^(?i)[^c].* 

(?i) stands case insensitive, can use instead:

^[^cc].* 

or in javascript style:

/^[^c].*/i 

Comments