I'm kind of a newby with Javascript, and regex in general and would appreciate all help I can receive!
Consider the following command: [Doesn't matter where it's executed]
/Ban Tom {Breaking The Rules} 5
What I need to do is detect the string between {}, replace the spaces with underscores there(_) and remove the curly brackets around the new string. Example of outcome:
/Ban Tom Breaking_The_Rules 5
Thanks, Tom.