Requirements: require [text] but exclude [url]?

hi Mr. Nick

in the requirements array
is it possible to using [text] but exclude [url] or http https content?

thank you

Yes, requirements can be negated by prefixing them with !. This will need to be quoted to be valid YAML. So, for example:

requirements: [text, "!urls"]

Will require selected text that does not contain any urls.

1 Like

thank you, it works!

the old type Config.plist

Requirements


could it also working like that?
try the text, “!urls” but not working. thank you

In plist format it would be

<key>Requirements</key>
<array>
  <string>text</string>
  <string>!urls</string>
</array>
1 Like

thanks for your patience always for a non coder user :sparkling_heart:

1 Like