Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
newbie pattern match question :-)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="davidcsnow, post: 4780924"] I'm new to Perl, and am trying to match a string enclosed within parentheses, storing said string in a variable. Simple enough I would guess. An example of the text to search would be: "hello(world)", with the variable holding 'world' once done. How far off am I with: $text = "hello(world)"; $new = $text =~ m/\(*\)/; Quite far offI am assuming!! Thanks in advance, David. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
newbie pattern match question :-)
Top