in reply to regex help
Hi, Try now,
#!/usr/bin/perl use strict; my $term = "\"foo\"[MH] OR \"bar\"[MH]"; my @matches = $term =~ /(\"(.+)?\"\[MH\])/ ; print $_,"\n" foreach (@matches);
Regards,
Velusamy R.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex help
by ikegami (Patriarch) on Jun 03, 2007 at 03:45 UTC |