On Feb 18, Kittler, Karl said: >I've been writing in Perl for quite some time now, however regular >expressions have eluded me. I'm not completely sure why, but they have. >Now that I need them I figure I better get some assistance soon.
Perhaps http://japhy.perlmonk.org/book/ will help. > ($linkname) = ($line2 =~ m/>[:alpha:]*<\/a[>]/gi); #extract the linked >text. I think you mean [[:alpha:]]. [...] denotes a character class, and [:alpha:] denotes the POSIX set "alpha" INSIDE that character class. Just using [:alpha:] in a regex is the same as [:alph]. But you should be using a full-blown HTML parser instead. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]