I\'d like to remove only the first two BR tags with jquery.
// I want to remove both BR. ... <
Use :lt():
$('#system br:lt(2)').remove();
:lt() takes a zero-based integer as its parameter, so 2 refers to the 3rd element. So :lt(2) is select elements "less than" the 3rd.
:lt()
:lt(2)
Example: http://jsfiddle.net/3PJ5D/