Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    while (<>) {
            print if m/(\d+)\D+(\d+)/;
            print "$1\n$2\n";
    }
    
  2. or download this
    tm@norad:~$ ./regex_test
    123 testing... testing 456
    123 testing... testing 456
    123
    456