I have the following RegEx, which works in the RegEx online tester: https://regex101.com/r/sZkhfs/1
What I want to do is get the whole text String between "Freigaben: " and any text string followed by a ":" (colon).
Pattern
"(?<=Freigaben: )([\S\s]*?)(?=\s[a-zA-Z]++:)
"
Test String "Freigaben: BLA BLABLABLABLABLABLBAL test ... Empfehlungen:"
When I try to run it in my VBA code I face an 5018/5017 error, which means the pattern is wrong, but I do not figured it out how to change it accordingly so that it will run in my VBA Code. Any ideas?