find parenthesis construct

A swapping-ground for Regular Expression syntax

find parenthesis construct

Postby Noisebreath » Tue Feb 19, 2013 2:55 pm

Hi,

i need a regexp that matches a string within a text from the first opening parenthesis after an equal sign "=(" to its closing parenthesis no matter how many opening and closing parenthesis are between them.
For example :

"The first parenthesis will ( be ignore . an example text containing =(hei() whats(up) with (()yoou) ( what are your plans today)? ) . the next parenthesis will be ignored ) text"

It has to find the following text snippet : =(hei() whats(up) with (()yoou) ( what are your plans today)? )

i cant get this done. Anyone an idea how to solve this? :-/

thx
Noisebreath
 
Posts: 1
Joined: Tue Feb 19, 2013 2:47 pm

Re: find parenthesis construct

Postby Stefan » Fri Mar 01, 2013 7:48 pm

You know this is a forum about a file renamer?
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to Regular Expressions