DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
JavaScript Splitting a string using a regular expression
const sampleText = "Hello 1 World 2 !!!" console.log(sampleText.split(/(d)/))
Source by itsjavascript.com #
PREVIOUS
NEXT
Tagged:
#JavaScript
#Splitting
#string
#regular
#expression
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit