Jan 24, 2014, 12:06 PM
Post #1 of 3
I have an array of scalar values. The all start with the same thing. I want to remove that repetitive data and leave only the remaining text.
Removing portions of a string
For simplicity, suppose I have a scalar value
$a="Repeated Text - X213123";
I know with regex I can use s/Repeated Text - //g
How do I do this in perl?