Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for javascript .replace() method not working properly

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Oct 2, 2013 at 20:49 vote accept dot
Oct 2, 2013 at 19:58 history edited thefourtheye CC BY-SA 3.0
fixed formatting and text
Oct 2, 2013 at 19:53 answer added Kemal Dağ timeline score: 1
Oct 2, 2013 at 19:53 comment added Barmar replace only replaces all occurrences if the first argument is a regexp with the g modifier. If it's a string, it just does one replacement.
Oct 2, 2013 at 19:53 answer added Simon Fischer timeline score: 1
Oct 2, 2013 at 19:53 answer added Gaurav Singla timeline score: 0
Oct 2, 2013 at 19:51 comment added user1637579 Could be that the ~ or the commas are special characters. Try replace("\~,円,円","\~") and see if that works.
Oct 2, 2013 at 19:50 history asked dot CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /