Locate   using :contains

Locate   using :contains

$("u:contains(' ')").css('border','1ps solid red');

I'm trying to find any non breaking spaces (example above) and am not successful.  How can you search for html code in text?

Thanks,

david