CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: Regex help (regex to match text beetween set of parentheses): Edit Log



quintus
Novice

Sep 7, 2011, 11:04 AM


Views: 2182
Regex help (regex to match text beetween set of parentheses)

Text format: (text1) text2 (text3)

1. I need regex to match text beetween first set of parentheses. Results: text1.
2. I need regex to match text beetween first set of parentheses and second set of parentheses. Results: text2.
3. I need regex to match text beetween second set of parentheses. Results: text3.

please give me a little help.
Thanks


(This post was edited by quintus on Sep 7, 2011, 1:46 PM)


Edit Log:
Post edited by quintus (Novice) on Sep 7, 2011, 11:05 AM
Post edited by quintus (Novice) on Sep 7, 2011, 1:45 PM
Post edited by quintus (Novice) on Sep 7, 2011, 1:46 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives