>>>>> "JGL" == Julia Gallardo Lomeli <juliaaa...@gmail.com> writes:

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

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


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

and what is your perl question? grep is a perl function but you are
using the grep command which is not perl.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to