Get text between two rounded brackets

How can I retrieve the word my from between the two rounded brackets in the following sentence using a regex in JavaScript?

“This is (my) simple text”

74 thoughts on “Get text between two rounded brackets”

Leave a Comment