regex match с первым экземпляром

/[^;]*/

# matches every character before the first ;
garzj