I would like to be able to extract a number from within a string formatted as follows:
\"<[1085674730]> hello foo1, how are you doing?\"
I\'m a novice wit
Use:
/<\[([[:digit:]]+)\]>/
If your implementation doesn't support the handy [:digit:] syntax, then use this:
[:digit:]
/<\[([\d]+)\]>/
And if your implementation doesn't support the handy \d syntax, then use this:
\d
/<\[([0-9]+)\]>/