You're viewing a comment by karl and its responses.

karl Permalink
November 07, 2008, 09:21

It's easy with sed:

echo abc654def | sed -E -n -e 's/abc([0-9]+)def/\1/p'

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

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