SyntaxFix
Write A Post
Hire A Developer
Questions
Try /[^;]*/
/[^;]*/
That's a negating character class.