Hi,

Lets say I want grep to find all <div
class="photo">whateverElementGoesInsideTheseDivTags</div> in index.html

I am using the code below but it seems that it's not working


grep -o "<div class=\"photo\">[^()]*</div>"  index.html

(my guess is because I'm not properly escaping the quotes in "photo")

What am I missing???


Thanks for the help

-- 
Julia Gallardo Lomeli

Reply via email to