Are you looking for something like:
use strict; use warnings; my $line = 'one="1" two="2" three="3" x="y"'; my @parts = $line =~ /([^=]* = \s* "[^"]*" )\s*/gx; print "$_\n" for @parts;
Prints:
one="1" two="2" three="3" x="y"
In reply to Re: Regex to match "this=that" multiple times
by GrandFather
in thread Regex to match "this=that" multiple times
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |