Results 1 to 2 of 2

Thread: Regex

  1. #1
    Newbie Newbie
    Join Date
    Apr 2015
    Posts
    2

    Regex

    Why this regex is not working.

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

    Please help!!

  2. #2
    Newbie OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,789
    This is absolutely nothing to do with OpenGL.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean