I think [^\\\/] meant not '\' and not '/' ?