VBA regex pattern
Posted
by
KeyMs92
on Stack Overflow
See other posts from Stack Overflow
or by KeyMs92
Published on 2012-06-05T19:10:43Z
Indexed on
2012/06/05
22:40 UTC
Read the original article
Hit count: 309
This is probably a simple problem, but unfortunately I wasn't able to get the results I wanted...
Say, I have the following line:
"Wouldn't It Be Nice" (B. Wilson/Asher/Love)
I would have to look for this pattern:
" (<any string>)
In order to retrieve:
B. Wilson/Asher/Love
I tried something like "" (([^))]*))
but it doesn't seem to work. Also, I'd like to use Match.Submatches(0)
so that might complicate things a bit because it relies on brackets...
© Stack Overflow or respective owner