I know that this code is messy and can probably be done about 1 million times more easily. =( But please bear in mind that I am a noob coder and I am trying my best. =( Thank you very much for all your help, I appreciate it. Also, if you go to
you can see the code in action. On the right side of the page if you scroll down about 2 pages you will see a player named 'Fasin Kivna'. You will see 'Fasin Kivna Fasin Kivna' 'I guess they DONT match'. One Name is from the text file and the other is from the database, but they are not matching. Here is the code:
<!-- EternX Rankings Area Start-->
<%
Dim adoCon 'Database Connection Variable
Dim rsTemp 'Holds the configuartion recordset
Dim strCon 'Holds the Database driver and the path and name of the database
Dim strSQL 'Holds the SQL query for the database
'Create a connection object
Set adoCon = Server.CreateObject("ADODB.Connection"
'Database connection info and driver
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("nwnrankings.mdb"

'strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("nwnrankings.mdb"
'Set an active connection to the Connection object
adoCon.Open strCon, , adLockOptimistic, adCmdTable
'Read in the configuration for the script
'Intialise the ADO recordset object
Set rsTemp = Server.CreateObject("ADODB.Recordset"
'Initialise the SQL variable with an SQL statement to get the configuration details from the database
strSQL = "SELECT tblNWNRank.* From tblNWNRank;"
'Query the database
rsTemp.Open strSQL, strCon, , adLockOptimistic, adCmdText
Function regexTest(expression, text)
dim regEx
Set regEx = New RegExp
regEx.Pattern = expression
regEx.IgnoreCase = True
regEx.Global = True
set dateMatch = regEx.Execute(text)
If dateMatch.Count > 0 Then
regexTest = dateMatch.Item(0).Value
End If
set regEx = Nothing
End Function
dim objFile, strTextFile, strGetName, objFileTS, objFSO, strLogFileName, dateMatch, i, intEndMatches, x, j, duplicate, intCompareNames
dim DeadPlayers()
set objFSO = CreateObject("scripting.FileSystemObject"

strLogFileName = "c:\Inetpub\eternxroot\nwserverLog1.txt"
if objFSO.FileExists(strLogFileName) then
set objFile = objFSO.GetFile(strLogFileName)
Const ForReading = 1
Const TriStateFalse = 0
set objFileTS = objFile.OpenAsTextStream(ForReading,TriStateFalse)
strTextFile = objFileTS.ReadAll
strGetName = regexTest("<D>\w+\s\w+<D>",strTextFile)
i = 0
intEndMatches = dateMatch.Count -1
Redim DeadPlayers(intEndMatches)
For j = 0 To intEndMatches
DeadPlayers(j) = trim(dateMatch.Item(j).Value)
Next
for each x in DeadPlayers
Do While Not (rsTemp.EOF)
Response.Write i & "<BR>"
Response.Write DeadPlayers(i) & " " & rsTemp("PlayerName"

& "<BR>"
intCompareNames = StrComp(rsTemp("PlayerName"

, DeadPlayers(i), 0)
Response.Write "Compare Names Output" & intCompareNames & "<BR>"
if intCompareNames = 0 Then
'If (StrComp(rsTemp("PlayerName"

, DeadPlayers(i), 0) = 0) Then
'If rsTemp("PlayerName"

<> DeadPlayers(i) Then
Response.Write "I guess they MATCH" & "<BR>"
else
Response.Write "I guess they DONT match" & "<BR>"
rsTemp.MoveNext
end if
Loop
i = i + 1
rsTemp.MoveFirst
next
else
end if
rsTemp.Close
%>