regex match first occurrence of word in a line between two special caharacters code example
Example: regex match to first instance
/[^;]*/
# matches every character before the first ;
/[^;]*/
# matches every character before the first ;