Module:Strip to numbers/testcases

Strip units from CSS values (why I want this)

 * Input:
 * Result:
 * Input (will choke because of multiple  characters:
 * Result:
 * Input (will choke because of multiple  characters:
 * Result:
 * Input:
 * Result:

Find numbers in a bunch of stuff

 * Input:
 * Result:
 * Input:
 * Result:

Halve number found in stuff

 * Input:
 * Result:


 * Input:
 * Result:


 * Input:
 * Result:

Nastier input tests
Yeah, it dies on contact with. Can it be escaped? (see below: use =70%) Yes, though only with ; it chokes on . Though this points out the relative uselessness of trying to use this on strings this complicated, since  is the opposite of the desired output,. It needs to be able to discern with  is directly associated with a numeral (or perhaps a , since while   is crappy style, it's still a technically valid way to write.
 * Input:
 * Result:
 * Input:
 * Result:
 * Input:
 * Result:
 * Input:
 * Result:
 * Input:
 * Result:
 * Input:
 * Result:
 * Input:
 * Result:
 * Input:
 * Result:

Try: =70%
 * Input:
 * Result: ✅


 * Input:  (produced by $12.3$ )
 * Result:

After upgrade to match more narrowly

 * Input:
 * Result:
 * Input:
 * Result:
 * Input:
 * Result: