Selling your home?
"Can I do this more than once, or just once in my lifetime?"
'What about selling costs like the broker commission or improvements I made to the house?"
Alternatively, Take a look at the IRS website: http://www.irs.gov/newsroom/article/0,,id=106951,00.html