Frage im Vorstellungsgespräch bei Thomson Reuters

For a given string, find a pattern, use Python or Java