return

I know this is really basic but i cant find an example that helps me and haven’t used this before.
here is a regex line that returns true or false in the debugger as it should.

? matchmark.IsMatch(markone)

I can’t figure out the syntax to do something with the result in the code.
what i want is just:

if answer is “true”
do this
else
end if

Thanks

I think you just need to do this:

if ( matchmark.IsMatch(markone) ) then
  ' do stuff
else 
  ' do other stuff
end if

Perfect! Thank you joetesta.