First read ‣ to know what to input for searching through a file or ouput.
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- version = soup.find(text=re.compile('.*Oracle\\sDatabase.*'))
instead of using find after pattern.