Hello
I have a regular expression question.
Here's what I want to do
change
TEST RADIUS 123.254
to
TEST RADIUS 3.25
123456789012345 678901234567890
The key is to keep the number start at the specific column (right align). The numbers can have up to 3 decimal places. It must be at a specific location from the right. In this example, the number start from column 26 - Right Align. The text start at the second column - Left Align.
Is there away for Perl to do this?
Becuuse of the font/format. The numbers done line up correction in the post but you get the idea.
Thanks
-Khanh
I have a regular expression question.
Here's what I want to do
change
TEST RADIUS 123.254
to
TEST RADIUS 3.25
123456789012345 678901234567890
The key is to keep the number start at the specific column (right align). The numbers can have up to 3 decimal places. It must be at a specific location from the right. In this example, the number start from column 26 - Right Align. The text start at the second column - Left Align.
Is there away for Perl to do this?
Becuuse of the font/format. The numbers done line up correction in the post but you get the idea.
Thanks
-Khanh
Comment