Regex
var regexp = /\d+$/;
var ok = regexp.test( "555");
var matches = regexp.exec( "7878" );
if( matches[0] ) { ... }
![]() |
Axeorcat.com
Would you prefer to be an axe or a cat? That is the question. // I Code. I Sysadmin. I Beer.
|
![]() |
![]() |
![]() |
|||
|
||||
![]() |
![]() |