js
let str = "aaa(bbb)ccc";
console.log(str.match(/\((.+)\)/)[1]);
Go to list of users who liked
More than 5 years have passed since last update.
let str = "aaa(bbb)ccc";
console.log(str.match(/\((.+)\)/)[1]);
Register as a new user and use Qiita more conveniently
Go to list of users who liked