Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed subgroup pattern replace

sed -E "s/(.*).png//full/path/1/g" <<< "lolsed_bulsh.png"
# output is 
# /full/path/lolsed_bulsh
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #subgroup #pattern #replace
ADD COMMENT
Topic
Name
3+5 =