© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Regex Group Contains - C#
C
C#
•
3y ago
•
27 replies
Who here knows where is goblins
Regex Group Contains
hey simple easy question
, but are there ways to access individual capture groups in a regex match
? I want to say
if(regex.Group(2).contains("401") {
//do some stuff with
}
if(regex.Group(2).contains("401") {
//do some stuff with
}
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Regex help.
C
C# / help
12mo ago
Regex conditional
C
C# / help
3y ago
✅ Learning Regex
C
C# / help
3y ago