In Scala I have a string of the form
val str = "[ab][bc][cd][dx][42]"
What is the most efficient way in Scala, regular expression utilizing or otherwise, to split that string into a Seq[String] that would be of the form:
("ab","bc","cd","dx","42")
Thank you.