[prev in list] [next in list] [prev in thread] [next in thread]
List: cgi-list
Subject: Re: [CGI] how do i extract everything between <TABLE> and </TABLE> from a v ariable?
From: Eric Bridger <eric () dev ! necx ! com>
Date: 1998-02-26 2:29:10
[Download RAW message or body]
From: JohnBeaman <JRB@w3f.com>
>
>Though there may be better wasy... Try:
>
>if ($a =~ /<table>(.*)</table>/i) {
> $result = "$1";
>}
This might work, but you will probably need to set
multi-line patterns first.
$* = 1;
=-=-
Eric Bridger
http://necxdirect.necx.com:8002/
-----------------------------------------------------------------
To unsubscribe, mailto:majordomo@jann.com with "UNSUBSCRIBE cgi-list"
in the message body.
To contact a person at the CGI list, mailto:owner-cgi-list@jann.com
The CGI Tips & Tricks website (and archive of the list) is located
at http://www.jann.com/Perl/
cgi-list is hosted by Wizards of the Web (http://wizweb.com).
-----------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic