Hello everyone. I have been reading about string substitution but do not understand how to find my pattern. My pattern only exists in quotes like this:
$variable = "The Dog Can Run"<tab>"The Dog Can Swim"<carriage return>
I need to remove any new line, tab, carriage return, basically any control character except spaces that exists within quotes only and replace them with something like 3 dots.
$variable =~ s/?????/..../g;
Thanks
-Matt
$variable = "The Dog Can Run"<tab>"The Dog Can Swim"<carriage return>
I need to remove any new line, tab, carriage return, basically any control character except spaces that exists within quotes only and replace them with something like 3 dots.
$variable =~ s/?????/..../g;
Thanks
-Matt