Google Groups Home Help | Sign in
Message from discussion replacement expression
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jon Paal [MSMD]  
View profile
 More options May 8, 2:06 pm
Newsgroups: comp.lang.javascript
From: "Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot com>
Date: Thu, 8 May 2008 11:06:06 -0700
Local: Thurs, May 8 2008 2:06 pm
Subject: replacement expression
need some help with a str.replace expression to strip all content between any occurrence of parentheses and also remove parentheses
...

str.replace(/\([\w\s]*\)/gi, "");

any suggestions ?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google