Hello everybody
I want to run some filters in a bunch of XML files only if there is some line in the file that does NOT contain a value/string out from a list of a few values.
Is this where I use conditional subpatterns? Can somebody give me examples or a better way to do what I want?
Thank you
Conditional Subpatterns
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Conditional Subpatterns
Hi there,
How large is the XML content? You can use an EasyPattern like this:
And set the replace with to
You can then add subfilters which trigger only when the match occurs.
How large is the XML content? You can use an EasyPattern like this:
Code: Select all
[ 0+ chars,
'value1' or 'value2' or 'value3',
longest 0+ chars ]
Code: Select all
$0