Regex groups are created by placing part of a regular expression inside parentheses.
How are non-capturing groups, i.e. (?:), used in regular expressions and what are they good for?
regex capturing-group regex-groupI'm trying to parse the following kind of string: [key:"val" key2:"val2"] where there are arbitrary key:"val" pairs …
javascript regex regex-group taskwarriorI'm after a regex that will validate a full complex UK postcode only within an input string. All of the …
regex validation regex-group postal-codeIn Python, the (?P<group_name>…) syntax allows one to refer to the matched string through its name: &…
python regex regex-groupI have this code, and I want to know, if I can replace only groups (not all pattern) in Java …
java regex replace regex-groupI need to capture multiple groups of the same pattern. Suppose, I have a following string: HELLO,THERE,WORLD And …
regex swift nsregularexpression regex-greedy regex-groupI'm using rubular.com to build my regex, and their documentation describes the following: (...) Capture everything enclosed (a|b) a …
regex capture regex-groupI have a list of words: bau ceu diu fou gau I want to turn that list into: byau cyeu …
regex vim capturing-group regex-groupI am using this regex: ((?:[a-z][a-z]+))_(\d+)_((?:[a-z][a-z]+)\d+)_(\d{13}) to match strings like this: SH_6208069141055_BC000388_20110412101855 separating …
regex optional regex-groupHow can I replace foobar with foo123bar? This doesn't work: >>> re.sub(r'(foo)', r'\1123…
python regex numbers regex-group