Created
June 6, 2025 19:40
-
-
Save pedroinfo/7ff6ffad8b21b7f9d56ca77e93661e5c to your computer and use it in GitHub Desktop.
ParentesesRegex.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static string ExtrairValorEntreParenteses(string input) | |
| { | |
| var match = Regex.Match(input, @"\(([^)]*)\)"); | |
| return match.Success ? match.Groups[1].Value : null; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment