tags:

views:

36

answers:

1

Hello Gurus,

Im looking for function that will allow me to remove (replace) all symbols in my body tag apart from a-z letter.

Is there a simple way of doing this?

Many thanks in advance.

+2  A: 
var new_body = $('body').html().replace(/[^a-z]/g, '');
theraccoonbear