<?php$last_word = "o'clock."; $new_word= preg_replace('/[^a-zA-Z0-9 ]/','',$last_word); echo $new_word;?>
Standard input is empty
oclock
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!