i am trying to build a regular expression that will have “( )” and anything inside that brackets.
\b([a-zA-Z [0-9]])\b
its usually text like
(not set)
(Content Targeting)
(content targeting)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to escape the parenthesis. You also want to allow more than one character inside, so do that with a
+or*(zero or more)I use regexpal to test regular expressions. It has a nice quick reference in the top right. MDN has a more complete reference: RegExp – MDN