jsSplit

fun String.jsSplit(regex: Regex): List<String>(source)

String.prototype.split with a regex, which splices every capture group into the result between the pieces. Kotlin's split leaves them out.