Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

AND Or condition in text with bracket how to divide in javascript

var text = 'This note is created on [date] by [admin;operator] for [[]]'
var myArray = text.match(/[([^[]*)]/g);
console.log(myArray);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #AND #Or #condition #text #bracket #divide #javascript
ADD COMMENT
Topic
Name
8+3 =