What about this regex?
\('(.*)'\)
You need to escape (
and )
since those are reserved in Regex. So every time you encounter a (
or a )
which you want to evaluate as a literal, you need to escape them.
More Related Contents:
- How to create a form that contains only a progress bar in c# [closed]
- Dynamic LINQ OrderBy on IEnumerable / IQueryable
- How to get the IP address of the server on which my C# application is running on?
- How to use WPF Background Worker
- Will using ‘var’ affect performance?
- Why RelayCommand
- Rotate GameObject over time
- Split a collection into `n` parts with LINQ? [duplicate]
- Switch statement fallthrough in C#?
- How to install a windows service programmatically in C#?
- What’s does the dollar sign ($”string”) do? [duplicate]
- How do I make the return type of a method generic?
- How to include quotes in a string
- Why use Async/await all the way down
- WinForms Global Exception Handling?
- Redirect console.writeline from windows application to a string
- Why are const parameters not allowed in C#?
- The C# using statement, SQL, and SqlConnection
- Concatenate and minify JavaScript on the fly OR at build time – ASP.NET MVC
- Declare a generic type instance dynamically [duplicate]
- How frequent is DateTime.Now updated ? or is there a more precise API to get the current time?
- .NET method to convert a string to sentence case
- SignalR doesn’t use Session on server
- Moq: unit testing a method relying on HttpContext
- The SSL connection could not be established
- Should I bind to ICollectionView or ObservableCollection
- C# Structs: Unassigned local variable?
- C# Convert List to Dictionary
- How to set property value using Expressions? [duplicate]
- How do I resolve the value of a databinding inside a MarkupExtension?