Question: I want to add some text inside a div if that div matches condition. Right now all the div's are filled up with the added text. Please check my code to better understand what I mean. 
What's the best solution to achieve my goal? Thank you.

```js
$('.col-md-3').each(function () {
    if ($('.status:contains("Rent")').length > 0) {
        $('.price').append('/month');
    };
    return false;
});
```

```html
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<div class="row">
  <div class="col-md-3"><div class="status">Rent</div><div class="price">€100</div> 
  </div>
  <div class="col-md-3"><div class="status">Rent</div><div class="price">€100</div>
  </div>
  <div class="col-md-3"><div class="status">For sale</div><div class="price">€1000</div>
  </div>
  <div class="col-md-3"><div class="status">For sale</div><div class="price">€1000</div>
</div>
```

Answer: 
```
$('img + br').remove(); try this

```
It remove all `<br>` tag between images.

```
$(document).ready(function(){

  $("img").nextUntil('img').remove();

});

<p>
  some text
  <br>
  more text
</p>
<br>
<img src="image.jpg" alt="image">
<br>
<br>
<img src="image2.jpg" alt="image">
<br>
<img src="image3.jpg" alt="image">

```