Filter by Domain of Logged in User

Hi! I have code that is doing a good job of matching the email address of the currently logged in user to the “submittedByEmail” in my collection. (I need to do this vs just filtering by owner). However, I would prefer to filter by the Domain of the currently logged in user, which I have as a column in my dataset as “submittedByDomain”.

Does anyone know how I would alter the code so that it shows the data for the currently logged in user that matches the “submittedByDomain” of that user in my dataset?

Current code filtering by matching email of the currently logged in user:

import wixUsers from ‘wix-users’;
import wixData from ‘wix-data’;

$w.onReady( async function () {
let userEmail = await wixUsers.currentUser.getEmail()
$w(“#dataset1”).onReady(() => {
$w(“#dataset1”).setFilter(wixData.filter()
.eq(“submittedByEMail”, userEmail)
)
});

});