#!/usr/bin/perl use strict my $string = "stuff, Hello the name of this site is perlmonks.org, goo +dbye, stuff"; my ($newstring) = ($string =~ /Hello(.*?)goodbye/); print "'$newstring'\n";
-Blake
In reply to Re: finding data in a string
by blakem
in thread finding data in a string
by maddfisherman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |