Help for this page

Select Code to Download


  1. or download this
    /^[^, ]+(?:,\s+\w+|)\s+(\w+)/
    
  2. or download this
    $ perl -wnE '/^[^, ]+(?:,\s+\w+|)\s+(\w+)/; say $1;'
    SMITH, A DOE
    DOE
    BULLOCK JOE A
    JOE