open 895570.xml ; my $fullout ; for funcCall/*[name()!='funcName'] { if (name()='rhsValue' and .='crlf') { $out = "" ; } elsif (name()='symConstant' and .='| |') { $out = " " ; } else { $out = (.) ; } ; $fullout .= $out ; } echo :s '<' (funcCall/funcName) ' string="' $fullout '"/>' ;
In reply to Re: regex replace using position loop
by choroba
in thread regex replace using position loop
by nglenn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |