Regex: Find/Replace All Substrings Without a Given String Before?

Posted by Rodney Blythe on Stack Overflow See other posts from Stack Overflow or by Rodney Blythe
Published on 2010-04-23T17:16:13Z Indexed on 2010/04/23 17:23 UTC
Read the original article Hit count: 361

Filed under:
|

I need to find all strings without a given string before it.

For Instance:

Find: "someValue"

**All results with "function(" before them should be ignored

The Visual Studio regular expression would find this:

value = someValue

And Ignore something looking like this:

function(someValue)

What is the best way to go about this?

Thanks for the help!

© Stack Overflow or respective owner

Related posts about regex

Related posts about visual-studio