Indian-born actor Shelley Malil was convicted Thursday in a Vista, Calif., court of the attempted murder of his girlfriend, officials said.Best known for his work in the film "The 40-Year-Old Virgin" and for his appearances on TV's "Scrubs,""Reba,""NYPD Blue,""The West Wing" and "ER," Malil was accused of stabbing Kendra Beebe 23 times in 2008 while her children slept nearby.Malil argued that he was defending himself against Beebe, who allegedly hit him in the back of the head when he arrived at her house and found her there with another man.E! News said the jury found Malil guilty of attempted murder and assault with a deadly weapon but acquitted him of residential burglary Thursday.A sentencing date has not been announced,