regex match с первым экземпляром
/[^;]*/
# matches every character before the first ;
garzj
/[^;]*/
# matches every character before the first ;