K
kd
Hi,
I am trying to do multiple substitutions in same line using regular
expressions.
$parameters ="V,ATP,WDR,WSD";
I am trying to replace either the pattern "U," or "V," with "U,V,"
Here is the syntax I used.
$parameters=~s/[U,]|[V,]/U,V,/;
Can anyone help me in fixing this part.
Thanks in advance.
-
Karthik
I am trying to do multiple substitutions in same line using regular
expressions.
$parameters ="V,ATP,WDR,WSD";
I am trying to replace either the pattern "U," or "V," with "U,V,"
Here is the syntax I used.
$parameters=~s/[U,]|[V,]/U,V,/;
Can anyone help me in fixing this part.
Thanks in advance.
-
Karthik