Perl Regex Matching expressions without set of strings [closed]

I need a Perl Regex to match expressions that not have any string from a set of strings

As a example, suppose the set of strings {"red", "blue", "white"}

"A blue sky" Not matching the rule "A green house" Match the rule

The regex (red|blue|white) match the rule when a string is present, but I need the opposite



from Recent Questions - Stack Overflow https://ift.tt/3voFY5k
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations