I am trying to match inline base64 stream inside HTML with below REGEX. But it is throwing Catastrophic backtracking error.
Regex:(?>src=\"data).*?(\">)
Sample data:
src="data/image:base64, iVakjsdlfjasldkfjaksjdaksjdflahdsklfjakdsljflkadsfjkjadshfkjahsdfkljahdsflkjadshflkjadshflkjasdhfklashdffasdf"==>
[The stream data is MANY lines]
The REGEX works for few lines of Stream, but throws Catastrophic error for MANY lines of Stream.
Kindly share your thoughts.