Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove all except numbers

'text123'.replace(/[^0-9]/g, '')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #remove #numbers
ADD COMMENT
Topic
Name
1+9 =