Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex match to first instance

/[^;]*/

# matches every character before the first ;
 
PREVIOUS NEXT
Tagged: #regex #match #instance
ADD COMMENT
Topic
Name
3+1 =