If company
is the page slug try
'index.php?pagename=company&code=$matches[1]'
If you want it in .htaccess to intercept it before it goes to index.php try
'index.php?pagename=company&code=$1'
If company
is a folder, there should be an index.php (or whatever the default file name is for your server) inside it that will process code
.