#regex - Questions and answers
10 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
I have the following string: and I want to use a regular expression to match everything between the parentheses and get an array of matches like the one below:
0 points
EN
Is there a way in JavaScript to match the string against the array of regular expressions? I need something like this:
3 points
EN
What is \W (/\W/) regex and what is the difference between \w and \W?
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...
0 points
EN
How to make a regular expression to match all characters between two strings? For example, in Sample sentence I just created, match all characters between Sample and created.
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 ...
5 points
EN
Is there a way I can delete all empty lines with regex with Notepad++? I know I can achieve it from UI by click on: Edit Line Operations Remove Empty Lines But is there a way to do it with regex? For ...
10 item(s), 1 page(s), 10 item(s) on this page.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Posts you may like
- C# / .NET - check if string contains any letters
- Spring Boot - accept and return JSON / XML in REST controller (consumes and produces)
- Java date time now with milliseconds - yyyy-MM-dd HH:mm:ss.milliseconds or yyyy_MM_dd__HH_mm_ss_milliseconds (java time SSS format)
- JavaScript - read image from clipboard as Data URLs encoded with Base64
- TypeScript - replace last 2 characters in string
- String - replace common problems (Cross technology)