POSIX regexp for finding everything between wordX and wordY
- by Dan
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.