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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -