in reply to Re: simple regexp question
in thread simple regexp question
In customising the andreas1234567 code, you can use it as
use strict; my $str = q{sometext with conetnst add kklkk&dfaf:dfaÜÄmlddö;}; $str =~ s/&([^;]+);/&$1 ;/g; #This includes all the characters til +l the semicolon print $str;
Punitha
In Section
Seekers of Perl Wisdom