You're viewing a comment by and its responses. Permalink
October 09, 2014, 16:01

but less wordy in perl :

perl -le 'shift =~ /(\d+)/;print $1' abc123def

Comment Responses Permalink
October 09, 2014, 16:04

or even

perl -le 'print shift =~ /(\d+)/' abc123def

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "0day_100": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.