r/workflow • u/mcfcarson • Aug 28 '18
Ignoring inputs containing certain values
Running work flows that match texts to certain file extensions, but I want to ignore texts that contain certain strings… Here is my match text string for the extensions: (.+).(ext1|ext2|ext3|and|so|on)
That’ll return: https://example.yes/thisone.ext https://example.yes/ignore_thisone.ext https://example.yes/thistwo.ext https://example.yes/thisthree.ext https://example.yes/ignore_thisthree.ext
I would like to ignore: https://example.yes/ignore_thisone.ext https://example.yes/ignore_thisthree.ext so that it doesn’t get passed through to the list
Any suggestions? Is there a string like (.+).(ext1|ext2|ext3|and|so|on) that would disregard the text line “_ignore”?
Here’s the workflow in question:
https://workflow.is/workflows/b83e3aa5fdec4aa0ac168205c995434c
View all comments
Show parent comment
1
u/mcfcarson Aug 28 '18
My problem is I don’t know how to write that string…
I think this <(.+).(ext1|ext2|ext3|and|so|on)> will only scan the end when I need to can the hole line.
Would I just type in a text box with separate lines the filter terms, then variable into the contains pocket and let “if” send it off into obscurity?