#!/bin/bashs='xyzblahxyzxyzblahxyzxyzblahblahxyz'perl -pe 's/xyz(.*?)xyz/<$1>/g' <<< "$s"
Standard input is empty
<blah><blah><blahblah>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!