I've come across 2 files on my server saved as .htaccess.txt and a variation of this, both of which I have now deleted.
One is below, the other was for kernal cruisers in the same format. Is this some sort of code injection or malware?

The first few lines of the code reads as follows (I won't post the whole thing and make it easy for anyone else to make use of it):

RewriteEngine On

RewriteCond %{HTTP_HOST} ^alluringartistry.co.uk$ [NC,OR]

...
...
...
...
ReWrite Rule .....