Use this regex to match the whole line:
^.*(word1|word2|word3).*\n?
Name: Ansible
Id: redhat.ansible
Description: Ansible language support
Version: 2.7.98
Publisher: Red Hat
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=redhat.ansible)
Name: Better Jinja
Id: samuelcolvin.jinjahtml
Description: Syntax highlighting for jinja(2) including HTML, Markdown, YAML, Ruby and LaTeX templates
Version: 0.20.0
Publisher: Samuel Colvin
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=samuelcolvin.jinjahtml
Name: Git History
Id: donjayamanne.githistory
Description: View git log, file history, compare branches or commits
Version: 0.6.20
Publisher: Don Jayamanne
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory
Name: gitignore
Id: codezombiech.gitignore
Description: Lets you pull .gitignore templates from the https://github.com/github/gitignore repository. Language support for .gitignore files.
Version: 0.9.0
Publisher: CodeZombie
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=codezombiech.gitignore
Name: GitLens — Git supercharged
Id: eamodio.gitlens
Description: Supercharge Git within VS Code — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
Version: 14.3.0
Publisher: GitKraken
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
Name: YAML
Id: redhat.vscode-yaml
Description: YAML Language Support by Red Hat, with built-in Kubernetes syntax support
Version: 1.14.0
Publisher: Red Hat
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml