str = "sysparm_type=list_data&count=20&start=0&p=incident%3Bq%3Aactive%3Dtrue%5Epriority%3D1%5EEQ&table=incident"
I've written a regex for the above string but i want to match it only if the "priority" substring is not present. Here's my regex:
.*sysparm_type=list_data&count=(\d+)&start=(\d+)&p=incident.*active.*true^((?!priority).)*$&table=incident
But this part ^((?!priority).)*$ of the regex isn't working.
^and$from the tempered greedy token.priorityis present in the keys?split).