title: Notepad++, search for a string with a wild card between. except if (character) shows up between
body: <p>I have an issue where i need to remove a directory in a url that occurs many times in a mysql dump. </p>
  
  <p>Here's the example.
  "domain.com/unwanted/wp-content"</p>
  
  <p>"unwanted" is not any specific word. sometimes it's "resource" and sometimes it's "events"</p>
  
  <hr>
  
  <p>my issue is that when i do <code>(domain.com/).*?(/wp-content)</code>
  I get matches like this: </p>
  
  <p>"'domain.com/blah/blahblah'  some text here
  more text here 'domain.com/wp-content'"</p>
  
  <p>as an example, through regex is there a way i can use this search, and somehow include that if it detects the character ' before it reaches "wp-content" then it does not match?</p>