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?
ASKER CERTIFIED SOLUTION
Avatar of Hammadh Abdul Rahman
Hammadh Abdul Rahman
Flag of Maldives image

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

ASKER

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