I didn't see an exact duplicate of this regex question...
In Visual Studio 2012, I need to find all files with 'using' directives that match a specific name space.
Example:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
I want to find all 'System' (substring A) namespace references EXCEPT those containing 'Collections' (substring B).
The desired results:
using System;
using System.Data;
using System.Diagnostics;
Seems like a good place to use a regex.