Im looking for function that will allow me to remove (replace) all symbols in m开发者_StackOverflowy body tag apart from a-z letter.
Is there a simple way of doing this?
Many thanks in advance.
var new_body = $('body').html().replace(/[^a-z]/g, '');
Im looking for function that will allow me to remove (replace) all symbols in m开发者_StackOverflowy body tag apart from a-z letter.
Is there a simple way of doing this?
Many thanks in advance.
var new_body = $('body').html().replace(/[^a-z]/g, '');
精彩评论