Substitute alt attribute with title attribute using sed

Posted by hardc0de on Stack Overflow See other posts from Stack Overflow or by hardc0de
Published on 2010-05-08T14:13:17Z Indexed on 2010/05/08 14:48 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

I have a PCRE regex that looks like this

s/(<input.+?)alt(=".+?".*?>)/$1title$2/

Can anybody help me with making that work on sed?

Eventually can anybody point me to some guide/blog post/whatever that explains differences between sed regex and PCRE?

© Stack Overflow or respective owner

Related posts about regex

Related posts about sed