Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

repeatedly delete words expressed in alternation from end of string [regexp]

by princepawn (Parson)
on Nov 06, 2007 at 15:53 UTC ( #649239=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $RE = qr! \b ( SA | NV | LTD | CO | LLC ) \b !ix ;
    
  2. or download this
    Bobs Warehouse SA LTD => Bobs Warehouse
    Jims Fine Wines CO LLC => Jims Fine Wines
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://649239]
Approved by kyle
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2018-07-23 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (459 votes). Check out past polls.

    Notices?