We help IT Professionals succeed at work.

Need a RegEx to find users of $("#menu div").hover(...)

curiouswebster
curiouswebster used Ask the Experts™
on
I would like to search my Visual Studio 2010 solution for all instances of lines which include:

<div

and

id="menu"

How do I do that?

Thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Control + F brings up a search box in visual studio make sure it's set to "Look in: entire solution"
If you need to find all lines like
<div name="x" id="menu"> bla-bla </div>

Open in new window


you may use this regexp:

<div.+id="menu"

Open in new window



curiouswebsterSoftware Engineer

Author

Commented:
Thanks!