Something like this maybe

$('div.multiple_options li').each(function(){
  var text = $(this).html()
  $(this).html( text.replace(/\d+\s+/,'') )
})

But please remove that ugly <br> inside your <li> tags and make them
block elements instead to achieve the same effect.

/ Johan


On 25 Mar, 14:03, 262Rui <i...@noiteglobal.com> wrote:
> This is My markup
>
> <div class="multiple_options_caption"> Features</div>
> <div class="multiple_options">
> <ul><li class="features">11 Classic Design<br></li>
> <li class="features">14 Countryside View<br></li>
> <li class="features">17 Space for Swimming Pool<br></li>
> <li class="features">21 Garage<br></li>
> <li class="features">22 Spacious Garden <br></li>
> <li class="features">24 Landscaped Garden<br></li>
> <li class="features">27 BBQ<br></li>
> <li class="features">29 Guest parking </li>
> </ul>
> </div>
>
> and i would like to hide/remove the first 2 numbers fom my li.features
>
> How can this be achieved?
> kind Regards
>
> Rui

Reply via email to