javascript Programming Glossary: catdog
regex negative look around with 2 adjacent matches http://stackoverflow.com/questions/17340966/regex-negative-look-around-with-2-adjacent-matches JavaScript var regex new RegExp cat dog cat g var text catdogcat catdogdog catdogdogcat .replace regex 000 console.log text.. var regex new RegExp cat dog cat g var text catdogcat catdogdog catdogdogcat .replace regex 000 console.log text It ouputs.. new RegExp cat dog cat g var text catdogcat catdogdog catdogdogcat .replace regex 000 console.log text It ouputs this catdogcat..
|