Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by princepawn (Parson)
on Nov 06, 2007 at 15:53 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://649239]
Approved by kyle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found