set english {[and now] is the time}regexp {^(\[[^][]*\])?(.*?)(\[[^][]*\])?$} $english - first middle endputs $firstputs $middleputs $end
Standard input is empty
[and now] is the time
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!