How do i search a particular line based on string match and replace it with another sting. Below is the example of a html strong which i need to modify using bash script.
< link type="text/css" rel="stylesheet" href="https://teststore.xxx.com/store/downpanel.css">
change to:
< link type="text/css" rel="stylesheet" href="https://testsstore.xxx.com/store/downpanel.css">
i.e teststore with testsstore. just trying to add 's' .
I guess i need to match all the string. because downpanel.css is the one which differentiate which line to be edit with 's'.
I being said that this can be achieved by Regualar expression.. but i couldn't able to make it . any help with syntax would be highly greatful.
thanks.
jack