Skip to main content
46 events
when toggle format what by license comment
Aug 10, 2023 at 9:20 history protected CommunityBot
Jun 10, 2023 at 12:51 answer added mfkocak timeline score: 0
Dec 14, 2021 at 10:16 answer added Marek Mikołajczyk timeline score: 2
Jul 2, 2021 at 4:36 answer added Tun Cham Roeun timeline score: 2
S May 7, 2021 at 13:53 history bounty ended Anderson Green
S May 7, 2021 at 13:53 history notice removed Anderson Green
May 7, 2021 at 13:53 vote accept Anderson Green
May 7, 2021 at 9:57 answer added user1450780 timeline score: 0
May 6, 2021 at 19:02 answer added Taimoor Qureshi timeline score: 4
May 4, 2021 at 8:40 answer added Steve Chambers timeline score: 2
May 3, 2021 at 19:24 answer added The fourth bird timeline score: 49
May 3, 2021 at 14:22 answer added avasuilia timeline score: 0
May 1, 2021 at 2:15 answer added Leftium timeline score: 1
Apr 30, 2021 at 19:03 comment added Guerric P In this case just surround every word with \b in the regex: jsfiddle.net/rkc52a0u
Apr 30, 2021 at 19:01 comment added Anderson Green @GuerricP I need to match and replace every string when possible. In this case, the word "catch" doesn't get matched at all, since the word "cat" appears first in the regex.
Apr 30, 2021 at 18:32 comment added Guerric P @AndersonGreen in your example why cat should not match the cat part of catch? You should precise the match criteria.
S Apr 30, 2021 at 18:03 history bounty started Anderson Green
S Apr 30, 2021 at 18:03 history notice added Anderson Green Current answers are outdated
Apr 30, 2021 at 17:47 comment added Anderson Green The top-voted answer to this question seems to be incorrect: it sometimes replaces the strings in the wrong order.
Apr 30, 2021 at 17:13 answer added Slavik Meltser timeline score: 4
Aug 31, 2020 at 18:33 answer added Mikaël Mayer timeline score: 0
Jul 2, 2020 at 9:31 answer added Yathiŋ K Rào timeline score: 0
Nov 16, 2019 at 15:19 answer added Martin Čížek timeline score: 0
Nov 14, 2019 at 17:40 answer added Naresh Kumar timeline score: 3
Jun 18, 2019 at 3:07 answer added Emmanuel timeline score: 10
Jun 17, 2019 at 13:10 answer added Anand Kumar Singh timeline score: 0
Nov 5, 2018 at 8:06 comment added Prasanna i've some different query, what if i dnt know user is going to enter cat or dog or goat(this is randomly coming) but whenever this kinda word will come i need to replace with let's say 'animal'. how to get this scenario
Sep 17, 2018 at 6:42 history edited KARTHIKEYAN.A
edited tags
May 18, 2018 at 12:39 answer added Quentin 2 timeline score: 22
Mar 4, 2018 at 18:14 answer added Kodie Grantham timeline score: 4
Jan 16, 2018 at 8:37 history edited stone
This has nothing to do with expressjs. Removed tag.
Jan 16, 2018 at 8:08 answer added Muhammad Bilal timeline score: -5
Dec 6, 2017 at 10:33 history edited KARTHIKEYAN.A
tagas updated
Aug 18, 2017 at 7:08 answer added KARTHIKEYAN.A timeline score: 1
Jul 19, 2017 at 16:06 answer added codebytom timeline score: 0
Jul 3, 2017 at 10:58 answer added jack timeline score: 3
Aug 13, 2016 at 10:42 answer added Jalaluddin Rumi timeline score: 0
Feb 16, 2016 at 11:50 answer added João Paulo timeline score: 5
Nov 17, 2014 at 16:33 answer added Drew Landgrave timeline score: -1
Dec 1, 2013 at 13:34 answer added nazih ahmed timeline score: 0
Mar 24, 2013 at 23:59 answer added Iian timeline score: 14
Mar 24, 2013 at 22:05 vote accept Anderson Green
Apr 30, 2021 at 18:00
Mar 24, 2013 at 21:26 answer added Ben McCormick timeline score: 641
Mar 24, 2013 at 21:25 history edited Anderson Green CC BY-SA 3.0
edited body
Mar 24, 2013 at 21:21 comment added Anderson Green I want to replace multiple words in a string with multiple other words, without replacing words that have already been replaced.
Mar 24, 2013 at 21:19 history asked Anderson Green CC BY-SA 3.0