I want to .search() for $( #nav ul li)
. The spaces should be regarded.
So far i got: (\s)*$(\s)*\((\s)*#nav(\s)+ul(\s)+li(\s)*\)(\s)*
(\s)*$
this part seems to works, and so does (\s)*\(
but if i put it together, it wont work. What am I missing?