If my html is like this
<body>
<b><span>jQuery</span>
is designed to change the way that you write
<span><i>JavaScript</i></span>.</b>
</body>
How can i search for string
jQuery is designed to change the way that you write JavaScript // This is a Dynamic string
in body html and wrap it with a <span class="we"> tag..
Please help me on this..
You’re looking for
$(htmlString).text().