Answers for "sed replace all until match in line"

0

sed replace all until match in line

echo remove_staystay... | sed 's/.*\(stay.*\)/\1/g'
stay	#remove all but from last ocurrence match until end
Posted by: Guest on November-27-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language