I wanna delete CDATA
from my filter tag in many .xml files via Intellij Replacement Tool with the following regex.
Search: <filter>(?:\s)*<!\[CDATA\[((?:\s|\S)*?)]]>(?:\s)*<\/filter>
Replace: <filter>$1<\/filter>
<filter><![CDATA[CONTENTX]]></filter> // from
<filter>CONTENTX</filter> // to
If I open the tool with ctrl + shift + f and enter the regex a stack overflow error occurs.
Regular expression failed to match
(?:\s)*(?:\s)*\/filter> produced stack overflow when matching content of the file C:/Users/...