Regexp in bash for number between "quotes"

Posted by MArio on Stack Overflow See other posts from Stack Overflow or by MArio
Published on 2010-05-28T18:07:56Z Indexed on 2010/05/28 19:22 UTC
Read the original article Hit count: 201

Filed under:
|

Input:

hello world "22" bye world

I need a regex that will work in bash that can get me the numbers between the quotes. The regex should match 22.

Thanks!

© Stack Overflow or respective owner

Related posts about bash

Related posts about scripting