split string by regexp