Trying to use VS 2010 regex to make specific changes to a css class name.
Want to find every "required" that is in a class attribute.
1 - class="required"
2 - class="c1 required c2"
3 - class="c1"
4 - class="c1 required c2 c3"
5 - class="required c2"
6 - class="c1 c2"
7 - class="c1 c3 required "
So the expression should only match 1 2 4 5 7
The "required" word is used by some other stuff that can not be changed, so i can't just search for "required" and replace it.