I need to simple replace texts that start with A... and end with ...B For example: <ul class=level3> <li><img src=../../images/no_.gif> <a href=02_01_02_01.htm>wert</a> <li><img src=../../images/no_.gif> <a href=02_01_02_02.htm>dfhg</a> <li><img src=../../images/no_.gif> <...