[Solved] Looking for a string in Python [duplicate]


It is not entirely clear what the conditions are. Based on your comments I think you look for the following regex:

r"Профессиональная ГИС \"Панорама\" \(версия 12(\.\d+){2,}, для платформы \"x(32|64)\"\)"

This will match any sequence of dots and numbers after the 12. (so for instance 12.4.51.3.002 is allowed), and furthermore both x64 and x32 are allowed (not x42).

You can test the regex on regex101.

1

solved Looking for a string in Python [duplicate]