Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hello is possible to convert php to perl script ?
thanks you<?php $foo = "My number is 123456"; $num = preg_replace('/(\W|\D)/e', '',$foo); echo $num; ?>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: php to perl
by wazoox (Prior) on Jul 07, 2011 at 11:24 UTC | |
by Anonymous Monk on Jul 09, 2011 at 23:50 UTC | |
Re^5: php to perl
by Anonymous Monk on Jul 07, 2011 at 05:00 UTC |
Back to
Seekers of Perl Wisdom