First read ‣ to know what to input for searching through a file or ouput.

search()

Untitled

re.compile(pattern, flags=0)

Compile a regular expression pattern into a regular expression object, which can be used for matching using its match(), search() and other methods, described below.

Or could use-    instead of using find after pattern.

Or could use- version = soup.find(text=re.compile('.*Oracle\\sDatabase.*')) instead of using find after pattern.