I have a text with news where i got html attributes that i don't need. How can i delete phrases in ruby such as
img width="750" alt="4.jg" c="/unload/medialiy/df6/4.jg" height="499" title=4.jg"
img width="770" alt="5.jg" c="/unload/medialiy/ty6/5.jg" height="499" title=5.jg"
So i need some regex smth like news.sub('/img*jg"/, '')
. but it doesn't work.