mbickel
val m = "(abc)".toRegex().matchEntire("blabla"); if (m != null) { val s = m.groups[1]!!.value; }