Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get until last match

echo remove_staystay... | sed 's/.*(stay.*)/1/g'
stay	#remove all but from last ocurrence match until end
 
PREVIOUS NEXT
Tagged: #match
ADD COMMENT
Topic
Name
1+5 =