Here is the format of the css I'm trying to edit using jquery.
/*8d*/ .class{color:#444444;}
/*5d*/ .class{background-color:#444444;}
/*3f*/ .class{color:#444444;}
/*9d*/ .class{color:#444444;}
I want to replace several entire lines within using Regular Expressions. For example, How do I select line 5d the replace with "/*5d*/ .new{border:#676767;}" so the end result is;
/*8d*/ .class{color:#444444;}
/*5d*/ .new{border:#676767;}
/*3f*/ .class{color:#444444;}
/*9d*/ .class{color:#444444;}
Thanks.