I have a text like this:
a = CreateObject("1-SI")
foo bar 'blah blah CreateObject("2-No")
'CreateObject("3-No")
with regular expression i want select all CreateObject("...") substrings that don’t have the ‘ character on the left
How can I do this?
You can do it like this (example at RegExr)
Not sure about VB6s regex – but this doesn’t require lookahead or behind.
The first capturing group is the
CreateObject(..)part. You will need to use multiline mode (if possible in VB6).