You could do it with:

$('span.email').html().replace('[monkeytail]', '@');

And you probably also need:

$('span.email').html().replace('[dot]', '.');

On Thu, Jun 19, 2008 at 12:26 AM, IschaGast <[EMAIL PROTECTED]> wrote:

>
> I have this: <span class="email">contact [monkeytail] yabadabadoo
> [dot] .com</span>
> Now I want to replace the text [monkeytail] with some other text.
>
> Is there a simple solution that I can get the monkeytail text and
> replace it with something else?
>



-- 
Isaak Malik
Web Developer

Reply via email to