Uppercase on edit?

Uppercase on edit?

Hello,

i have the following script:

  1. //You can drag and drop tasks from the immediate left pane
    //Below is the SAMPLE validation script
    if(!(input.IATA_No.toString().matches("^\d{8}$")))
    {
        alert ("The IATA Number should be 8 digits long!");
        // replace 3 and 5 with min and max digits..
        cancel submit;
    }
    if((input.Amadeus  !=  "")  &&  (input.Amadeus  !=  null))
    {
        if((input.Amadeus).length()  !=  9)
        {
            alert (("Office ID Amadeus must be a length of 9!"));
            cancel submit;
        }
    }
    if((input.Galileo  !=  "")  &&  (input.Galileo  !=  null))
    {
        if(!(input.Galileo.toString().matches("[a-zA-Z0-9]{3,4}")))
        {
            alert ("Office ID Galileo should be between 3 and 4!");
            cancel submit;
        }
    }
    if((input.Worldspan  !=  "")  &&  (input.Worldspan  !=  null))
    {
        if(!(input.Worldspan.toString().matches("[a-zA-Z0-9]{3,4}")))
        {
            alert ("Office ID Worldspan should be between 3 and 4!");
            cancel submit;
        }
    }
    if((input.Sabre  !=  "")  &&  (input.Sabre  !=  null))
    {
        if(!(input.Sabre.toString().matches("[a-zA-Z0-9]{3,4}")))
        {
            alert ("Office ID Sabre should be between 3 and 4!");
            cancel submit;
        }
    }
how can i change the Code that all letters are in uppercase?

Regards
Carsten