FW: regex needed

2005-01-19 Thread Manav Mathur
Still cant get to you chris -Original Message- From: Manav Mathur [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 9:44 PM To: Chris Knipe Subject: RE: regex needed Sure thing. I have put my updated scripts in perl.org. As I love making mistakes :( , you must refer to the lat

FW: Regex help!!

2002-12-01 Thread Johnstone, Colin
Further to my previous message. after fixing the ~= I get the following. I know $screenOutput has a value because I see the html contained in the file Im reading on the screen its just not doing the substitution. please advise. Colin -Original Message- From: Johnstone, Colin Sent: M

FW: Regex Help - removing HTML tags/script

2002-10-18 Thread Jon Shoberg
I need to remove HTML scripts from some pages. I have to replace <*script*>* with blanks. This includes all javascript/vbscript in between the tags I'm using the * as guidelines to show it must match several variations. Thoughts ? Ideas? Suggestions? Thanks ! Jon -- To unsub

Re: FW: Regex Help - removing HTML tags/script

2002-10-17 Thread Jenda Krynicky
From: "Jon Shoberg" <[EMAIL PROTECTED]> > I need to remove HTML scripts from some pages. > > I have to replace > > <*script*>* with blanks. This includes all > javascript/vbscript > in between the tags > > I'm using the * as guidelines to show it must match several > va

Fw: Regex, how to capture within repetition?

2001-07-20 Thread insomniak
Hi all, Here's my suggestion - tested it and works. #!/usr/bin/perl my $str = "Account \@id='1' or \@id='2' or \@id='3' or \@id='4'"; my $v = $str; #use if you need to keep $str intact if ($v =~ s/\@id='(\d)'/$i{$1}=$1;/eg) { print "1 = $i{'1'}\n" if defined $i{'1'}; print "2

FW: REGEX

2001-07-10 Thread Govinderjit Dhinsa
> Thank you for your reply. I made the changes you suggested, however some > of them did not work, these where the following results; > > # while (defined($line=)){ *produced only line 1* > # while(){ *produced NO lines* > # print SORTCODE @fields[0..33,2