This assumes you cannot have escaped quotes inside your quotes. And that your fields themselves do not contain quotes.$str = join "", map {my $_ = $_; /^"/ && s/\t+//g; $_} $str =~ /"[^"]* +"|[^"]*/g;
In reply to Re: Remove tabs only between quotation marks
by JavaFan
in thread Remove tabs only between quotation marks
by bestresearch2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |