That's ABS pipe, Best way is to cut it off under the floor and install a new one.
May need a short piece of ABS pipe and a hubless connector to use as a coupling.
You could also cut it off flush with the floor and use one of these.
http://www.bing.com/images/search?q...C88CF646E2A1895D965A7C794983&selectedIndex=21
May need a short piece of ABS pipe and a hubless connector to use as a coupling.
You could also cut it off flush with the floor and use one of these.
http://www.bing.com/images/search?q...C88CF646E2A1895D965A7C794983&selectedIndex=21