Remove Random Players from table

Hey! I am having a small problemo on removing 2 random players I selected from another table

local SearchingForMatch = {}

local function onRequest()

    local match = {}

    while wait(1) do
        for i, player in pairs(game.Players:GetPlayers()) do
            if player.Ready.Value == true then
                if table.find(SearchingForMatch, player.Name) then

                else
                    table.insert(SearchingForMatch, player.Name)
                    print(SearchingForMatch)
                end
            end

            if #SearchingForMatch >=2 then
                local randomplrs = SearchingForMatch[math.random(2, #SearchingForMatch)]
                
                for i = 1, #randomplrs do
                    if #randomplrs[i] == player then
                        table.remove(SearchingForMatch,i)
                        
                    end
                    
                end

How do i remove the random players from the seaching for match table?