As K'd-OUT-in-AZ has just pointed out you would be taking a relatively much larger amount of benzodiazepines than you have been with the temazepam. It is entirely possible to use diazepam (valium) and/or alprazolam (xanax) to get to sleep as you have been with temazepam, however in my experience they are less hypnotic than temazepam is.
I would suggest that you would want to use a relatively slightly larger dose of diazepam or alrazolam to induce sleep than with temazepam. I also reccomend that alrazolam is probably more suitable than diazepam as it has a considerably shorter half-life, which in many cases results in less groggyness the next day.
According to
this chart .5mg of alprazolam is equal to 10mg temazepam and 5mg of diazepam is equal to 10mg temazepam. That means you would need 25mg of diazepam to equal your 50mg dose of temazepam, and 2.5mg of alprazolam to equal 50mg temazepam.
Because of the less hypnotic effects of these benzo's compared to temazepam I would suggest 3mg of alprazolam or 30-35mg of diazepam to get a similar hypnotic effect as 50mg of temazepam.