for a string
s='abc_somedef'
use regex replace (it works)
echo ${s//_some/}
use regex replace with .* (it NOT works)
echo ${s//^.*_some/}
I want the result to be def
how I write it with bash internally (not sed/awk) ? maybe some escape char ?
*:/^.*?_some/?