2008/9/10 anders <[EMAIL PROTECTED]>:
> Hi i have som text with " and space and then a numbers
> eg.
> " 234234
>
> I tested to write
> $line =~ s/\" [0-9]/[0-9]/g;
>
> I like it to change
> " 234   to   "234
>

If you just want to remove the space between " and numbers, try:

$line =~ s/\s+//;

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to