regex - sed replace filename starts with quote -
i have in file strings img src="../image/popup.jpg" , or bg: 'images/xxx/popup.png'. replace entire filepath/name string sed , tried
sed 's/^"[^\s]*/somethingelse/g'
try instead,
sed 's|/some/unix/path|/a/new/path|g' files
Comments
Post a Comment