I want to take a string like src=' blah src='' blah
and ignore the first src='
Expected results should be: blah src='' blah
I've tried: blah(?!:(src\\s*?=\\s*?))
I've seen other posts on here mentioning ^(...).*$ but I really don't understand how to apply that or really how to work with negation. The java tutorial mentions [^abc], but can that be used for a regular expression too not just characters? e.g. [^src\\s=]