regular expressions

  • Thread starter Thread starter csharpula csharp
  • Start date Start date
C

csharpula csharp

Hello,
I have a long text and in some part of it there is text in clauses :
abdghgj(dfsfdsf)fsdfdsf(Fsf) .
I want ,using regular expressions to get only the text that is inside
the clauses.
How to do it?
Thank you!
 
csharpula csharp said:
Hello,
I have a long text and in some part of it there is text in clauses :
abdghgj(dfsfdsf)fsdfdsf(Fsf) .
I want ,using regular expressions to get only the text that is inside
the clauses.
How to do it?
Thank you!

[(]([^)]+[)]

Match opening parenthesis, then capture any number of characters that aren't
closing parenthesis, then match closing parenthesis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

regular expression 7
Expression tree question 2
Regular expression 5
Regular Expression? 3
Regular expression 4
Regular Expression help 2
need some finer tuning on the regular expression 9
Regular expressions 20

Back
Top