get values after a character.

I need to extract the last values in a list.

I need a regular expression that will extract everything after the "(" Can anyone assist with this?


add(10,3)
delete(1,3)
new(,3,4)
earngreenAsked:
Who is Participating?
 
MazdajaiConnect With a Mentor Commented:
Try, and use $1 -

\((.*?)$

Open in new window

0
 
vuhanguyenCommented:
You can try this (but not work in Javascript):

(?<=\()(.*?)(?=\))

Open in new window

0
 
käµfm³d 👽Commented:
If by "everything" you mean everything up to the ) then remove the $ from Mazdajai's suggestion, or change it to:

\((.*?)\)$
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.