[JS] I need help understanding this code.

I need help on specifically /(?<=\$\(CustomRank{Rank-Name: ).+?(?=}\))/g I don't know what it is and how I can edit it to something different but with similar function.

You are viewing a single comment. View All

It is a JavaScript regex (regular expression). Here's the breakdown:

Mark if helped!