实现两段文字模式匹配对比的JS算法

 
< div id = " txt1 "  style = " border:1px solid black " > Hello123 World  123 div >

< div id = " txt2 "  style = " border:1px solid black " > Hello World  456 div >

< div id = " txt3 "  style = " border:1px solid red " > div >
< div id = " txt4 "  style = " border:1px solid red " > div >

< script type = " text/javascript " >

script >

你可能感兴趣的:(前端开发)