#replace - Questions and answers
8 questions,
1 pages,
20 questions on this page
8 points
EN
I have noticed, when I use sticky flag in RegExp object with String replace() method, RegExp lastIndex property doesnt work. Is it normal behaving that in Applie Safari from 2020 it doesn't work and i...
5 points
EN
I have code: My current resut: What is the best way to make from input string the result string: I have also regex that works in notepad++
0 points
EN
How can I replace elements in array with elements of another array? For example, I have two arrays: I want to replace all the elements from index 0 in array1 with the elements of array2. The result sh...
0 points
EN
How can I replace element at specific position in array without mutating it? I want the following operation to be done without mutating the original array:
0 points
EN
I want to use replaceAll method in TypeScript under Node.js and I can't fix the following error. How can I fix it? Error: My code:
0 points
EN
How can I use string replace() method with regex in Python? I want to replace every capital letter with the same letter followed by a space character like this: but I receive this: instead of this:
0 points
EN
How can I replace a pattern (regex) with another regex using re.sub() on a string in Python? I want to convert camel case to sentence case so I need to replace every capital letter with the same lette...
2 points
EN
How can I replace entire HTML tag with conent? For example: How to remove entire tags with content: script with tmp link script with src iframe Expected html output: I'd like to create regex to match ...
8 item(s), 1 page(s), 8 item(s) on this page.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us