Link to home
Create AccountLog in
Avatar of joyacv2
joyacv2Flag for Puerto Rico

asked on

find parenthesis using jquery

I have the following text:

10X5 (h) testing (20) - boxes

i want to only have 10X5 (h) testing

I need a code that find the last ( and then trim to this one - 1 character. I have many different text lengths, this is the reason why i need the last (. any idea?
Avatar of Hammadh Abdul Rahman
Hammadh Abdul Rahman
Flag of Maldives image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of joyacv2


works excellent!!!!!!!!!!!!!!!!!!!!!!!!