Hi All,

I have the following lines in a file

<FILE>
Some Client - ABC - DEF
Some Other Client - XYZ
Another Client
</FILE>

I need a regex to remove everything after the last dash (-) if one is
present.

I know this is possible i just cannot figure.

I'm about to use split etc. but i know there's a better way.

Any help appreciated...


t0by
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to