Assuming you are using Slackware (as it says in your user info):
If you were previously using the default xorg.conf from installing Slackware, you should be able to get that from an X package.
I didn't immediately find a way to reinstall a single file with installpkg. Maybe you could find more help in the Slackware forum here.
Or, since a Slack package is just a .tgz file, maybe you can extract that, and get the original copy of xorg.conf that way.
The real lesson is to make backups