PDA

View Full Version : Regex



Dimple
04-20-2015, 05:52 AM
Why this regex is not working.

var str = "abcde";
var res = str.replace(/abc/i, "xyz");

Please help!!

mhagain
04-20-2015, 06:12 AM
This is absolutely nothing to do with OpenGL.