Reference – What does this regex mean?
This question’s answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions. What is this? This is a collection of common Q&A. This is also a Community Wiki, so everyone is invited to participate in maintaining it. Why is this? regex is suffering from […]
Learning Regular Expressions [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Regex is not finding what I need
I need to be able to find a letter+7digits with any characters after the 7th digit except 0-9 and A-Z. So it need to be ignored/not found if there is any of characters after 7th digit is 0-9 and A-Z
Find matching parenthesis
I have the following input file:
Find matching parenthesis
I have the following input file:
How to match range of dates using regular expressions
I have, for example, this date range sentence to test: from 10-08-2024 to 12-08-2024
, I need to extract the dates.
get string between string1 and first occurrence of string2
We receive HTML fragments that contain, among other things, specific questions with a response. Each pair is (hopefully) always separated by <br/>
.
So given this string:
REGEX getting the link and title
<lisclass=”list-item”[^>]+>.+?<a.?href=”([^”])”
Regexp : any chr but ignore word
Trying to capture server names from string.
How to exclude a prior match from a future match
I’m trying to write a regex, where the same group of terms is looked for twice, but I want to avoid matching the same term twice. If a term is found in the first group, it should not be matched in the second group.