![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| perl regexp | mirusnet | Shell Programming and Scripting | 1 | 04-04-2008 04:15 PM |
| tcl: regexp matching special character | sumitgarg | Shell Programming and Scripting | 6 | 01-09-2008 06:00 PM |
| perl regexp error , I cant understand what is wrong | umen | Shell Programming and Scripting | 4 | 10-19-2006 10:35 AM |
| lazy capture don't work (regexp in perl) | umen | Shell Programming and Scripting | 1 | 09-01-2006 12:02 PM |
| Need Help with Perl REGEXP | mh53j_fe | Shell Programming and Scripting | 1 | 01-17-2006 09:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Perl RegExp to remove last character from strings
I use SAS (a statistical software) and have to remove last character or the last 1/2 numbers that appear after characters from the string using Perl Regular Expression (which is recognized by SAS).
Input: f183ii10 f183ii2 f182ii1 f182ii2 f183iim f22ii f22ii11 f22ii12 pmh4 pmhm Desired Output:f183ii f183ii f182ii1 f182ii2 f183ii f22ii f22ii f22ii pmh pmh Thanks for your assistance, OsE |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|