How could I improve this regular expression to remove images that range from 29 to 45: [0-9]{29, 45}
?
My expression:
<img.+?(style=\".+?height:(29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45)%;.+?\")[^>]*>
When I tried to do so it removed the style of the image and not the image itself:
<img.+?(style=\".+?height:([0-9]{29, 45})%;.+?\")[^>]*>
See my example: