Top "Regex-group" questions

Regex groups are created by placing part of a regular expression inside parentheses.

Negating a backreference in Regular Expressions

if a string has this predicted format: value = "hello and good morning" Where the " (quotations) might also be ' (single …

regex backreference regex-group negate
Guide on how to use regex in Nginx location block section?

Nginx regex location syntaxe Regex expressions can be used with Nginx location block section, this is implemented with the PCRE …

regex nginx regex-group nginx-location nginx-config
How do I group regular expressions past the 9th backreference?

Ok so I am trying to group past the 9th backreference in notepad++. The wiki says that I can use …

regex notepad++ regex-group
Extract Regex Values (Regex Match) in Blue Prism

In Blue Prism, I need to identify specific elements of a Data Item (text), in order to use the information …

regex regex-group blueprism
Perl multiline regex

I have a file full of json objects to parse, similar to this one: { "_id" : ObjectId("523a58c1e4b09611…

regex perl multiline regex-group
Powershell: Replacing regex named groups with variables

Say I have a regular expression like the following, but I loaded it from a file into a variable $regex, …

regex powershell regex-group named
Kotlin Regex named groups support

Does Kotlin have support for named regex groups? Named regex group looks like this: (?<name>...)

regex kotlin regex-group
using regex g flag in java

Is it possible to use regex global g flag in java pattern ? I tried with final Pattern pattern = Pattern.compile(…

java regex regex-group
Java Matcher groups: Understanding The difference between "(?:X|Y)" and "(?:X)|(?:Y)"

Can anyone explain: Why the two patterns used below give different results? (answered below) Why the 2nd example gives a …

java regex regex-group
RegEx for extracting a value from Open3.popen3 stdout

How do I get the output of an external command and extract values from it? I have something like this: …

regex ruby regex-group