Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

s as regex in split javasc

//Using regex to split in Javascript
var myText = "This is a string, to spliT: with many marker,like comma";
splitData = myText.split(/[,. s]/);
Source by # #
 
PREVIOUS NEXT
Tagged: #regex #split #javasc
ADD COMMENT
Topic
Name
7+8 =