How should I use regex here so I can catch only hana input, not the user name hanna111? the way I used it is not working
it('creates and saves user ', () => {
const user = 'hana111';
createUser(user);
cy.visit(`/security/user/${user}`);
cy.get('input[name="myuser"]').type('hana');
cy.contains('button', 'Save').click();
cy.visit('/security/users');
cy.get('table').contains('td', /<hana$/).should('exist');
});