#!/bin/bash
echo 'this is a test line' | sed -n 's/.*\(te..\).*/\1/p'