I'm trying to write a RegEx to capture a Pascal procedure's body. My biggest problem so far is capturing a procedure which has a nested procedure insi ...
I'm trying to write a RegEx to capture a Pascal procedure's body. My biggest problem so far is capturing a procedure which has a nested procedure insi ...
I'm trying to catch all numbers from a string using Python regex. By numbers I mean integers and floats (using , or .). I managed to get it done using ...
I have been trying to get the separate groups from the below string using regex in PCRE: drop = blah blah blah something keep = bar foo nlah aaaa ren ...
I want to replace all the strings with DISPLAY="TRUE" to DISPLAY="FALSE" in the first line and vice versa in the next line in a single match. Example ...
My target data/table: Desired output: Return one row with three columns for each case-sensitive letter that repeats itself in a first name: column ...
I am trying to extract a set of numbers from comments like Which are stored in a column called "com" in table comments My requirement is to get ...
I'm writing a simple regular expression that needs receive a pair of coordinates and/or a map name. For example: Then, I wrote this regular expres ...
I have a url that contains two values, a keyword and a location name. The keyword comes after the '/r/' and the location after the '/l/'. E.g: localh ...
I'm basically working on custom query building. I've designed the pattern as field_set and sub_field_sets. A sample Query: I want to get all operat ...
I'm trying to learn about Recursion in Regular Expressions, and have a basic understanding of the concepts in the PCRE flavour. I want to break a stri ...
I was trying to find the answer on the Net but I was not able to. Does the third section on this page applies to PHP / PCRE or not? https://www.regul ...
I've been running around internet trying to find out how to build a regular expression to capture text in the way I need it; so I saw some StackOverfl ...
I am trying to capture some text before and after a C-style code block using a Perl regular expression. So far this is what I have: I am having an ...
I'm trying to write a recursive regular expression to capture code blocks, but for some reason it seems to not be capturing them properly. I would exp ...
This is a followup to this question. Have a look at this pattern: It matches any sequence of o with a length of 2n, with n ≥ 1. It works, see rege ...
I am trying to match C++ argument type which can contain balanced <and > characters. With this regex: (\<(?>[^<>]|(?R))*\>) On ...