query: JS replacing all occurrences of string using variable
positive_passages.docid: 823
positive_passages.text: How do you use a variable in a regular expression?
negative_passages.docid: 28187
negative_passages.text: How to replace the first occurence in an expression instead of replacing all?
negative_passages.docid: 64316
negative_passages.text: How do I break a string across more than one line of code in JavaScript?
negative_passages.docid: 39705
negative_passages.text: Is there a way to access a javascript variable using a string that contains the name of the variable?
negative_passages.docid: 85777
negative_passages.text: How do I replace the last occurrence of a character in a string using sed?
negative_passages.docid: 143231
negative_passages.text: Efficient way to replace chars in a string (java)?
negative_passages.docid: 94300
negative_passages.text: Why does the Replace() string method not modify my string variable?
negative_passages.docid: 22141
negative_passages.text: How do I perform a Javascript match with a pattern that depends on a variable?
negative_passages.docid: 27247
negative_passages.text: Replacing spaces with underscores in JavaScript?
negative_passages.docid: 103903
negative_passages.text: How to replace a string in all folder and file names
negative_passages.docid: 55919
negative_passages.text: Why is ReplaceAll behaving like this?
negative_passages.docid: 89181
negative_passages.text: JavaScript .replace only replaces first Match
negative_passages.docid: 111536
negative_passages.text: Java; String replace (using regular expressions)?
negative_passages.docid: 110835
negative_passages.text: replace String with another in java
negative_passages.docid: 87272
negative_passages.text: Finding the nth occurrence of a character in a string in javascript
negative_passages.docid: 125609
negative_passages.text: Python replace function [replace once]
negative_passages.docid: 96688
negative_passages.text: Replace line-breaks by spaces using javascript