Difference between revisions of "Category talk:StripToNumbers/testcases"

From blackwiki
Jump to navigation Jump to search
blackwiki>SMcCandlish
(gonna move this)
blackwiki>SMcCandlish
(No difference)

Revision as of 07:37, 18 July 2015

Strip units from CSS values (why I want this)

  • Input: -12em, 34px, 56%, "78.9x0"
  • Result: -12

Find numbers in a bunch of stuff

  • Input: SDks]df9s>dfjklasdfk9kasdfkasdkie0kmc'@(aks
  • Result 9