remove square brackets from string javascript
//Use this regular expression to match square brackets or single quotes:
/[\[\]']+/g
//Replace with the empty string.
"['abc','xyz']".replace(/[\[\]']+/g,'')
Also in JavaScript:
- device width javascript
- ejs include dynamic partial
- moving a item fro index to another index, javascript
- pyspark json multiline
- react strict mode
- javascript console.log
- nvm show available versions
- javascript create script tag
- node check if file exists
- how to get tomorrow date in javascript
- check if string only contains integer digits numbers javascript
- javascript after 2 months date find
- Immediately-Invoked Function javascript
- switch javascript
- javascript template string
- jquery fedein background color
- js change button text
- javascript turn string into array
- javascript to get value of dropdown
- variables in js
- ready function javascript
- jquery on dom change
- angular bootstrap
- js escape url parameter