{{ array[beigin:end] }} not support in template

How can I do this in template, I’ve read the document but not find it

Just combine the first and last functions. For example:

{{ last 8 (first 16 (seq 1 32)) }}

Yields 9 … 16.

go regular expression don’t support in template? just like others: Ruby, javascript…

Yes, see the documentation.