POSIX regexp for finding everything between wordX and wordY
Posted
by Dan
on Stack Overflow
See other posts from Stack Overflow
or by Dan
Published on 2010-04-25T01:28:42Z
Indexed on
2010/04/25
1:33 UTC
Read the original article
Hit count: 319
I have string as:
FOO /some/%string-in.here BAR
I would like to get everything between FOO and BAR but NOT including FOO[:space:]
and NOT including [:space:]BAR
Any ideas it will be appreciate it.
© Stack Overflow or respective owner