Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript arrays

// Match one d followed by one or more b's followed by one d
// Remember matched b's and the following d
// Ignore case

const myRe = /d(b+)(d)/i
const myArray = myRe.exec('cdbBdbsbz')
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #arrays
ADD COMMENT
Topic
Name
4+6 =