RegEx.SearchPattern

From Xojo Documentation

Property (As String )
aRegEx.SearchPattern = newStringValue
or
StringValue = aRegEx.SearchPattern

Supported for all project types and targets.

This is the pattern you are currently searching for.