Help for this page

Select Code to Download


  1. or download this
    echo 1st rule: 2nd, 3rd and 4th floor must be free in 5 min. Not in 6.
    + Call 911 for emergencies   |
    
    ...
    
    first rule: second, third and fourth floor must be free in five min. N
    +ot in six. Call nine hundred and eleven for emergencies
    
  2. or download this
    perl -MO=Deparse  -pne "s/(\d+)([st|nd|rd|th])+/num2en_ordinal($1)/ge;
    +s/(\d+)/num2en($1)/ge"
    
    ...
    }
    -e syntax OK
    
  3. or download this
     
    s/(\d+)(st|nd|rd|th)/num2en_ordinal($1)/ge