#!/bin/bashs='23353_test.txt'grep -oP '(?<=_).*(?=\.)' <<< "$s"sed -n 's/.*_\(.*\)\..*/\1/p' <<< "$s"
Standard input is empty
test test
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!