View Problem

Check if a string matches with groups

Display "two" if "one two three" matches /one (.*) three/

There are 19 other solutions in additional languages (clojure, cpp, csharp, erlang ...)