Find and Display Text Between Two Strings or Words Posted byadmin September 13, 2012 Leave a comment on Find and Display Text Between Two Strings or Words # sed -n '/<VirtualHost*/,/<\/VirtualHost>/p' /etc/httpd/conf/httpd.conf