Try this substitute command;
$scalarWorkingConfig =~ s/.*XXXXX\s(<$domainProperty +.*$domainPropert +y>).*/$1/g;
In reply to Re: How to make substitute greedy like sed's substitute
by Anonymous Monk
in thread How to make substitute greedy like sed's substitute
by PerlJedi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |