Which below metacharacters will fit for below expression?

/26 \-30 \*260 \+382 = \?/.match('Result is 30*260')

Why are you asking this question?

Just checking the solution for this? I have tried multiple metacharacters and lot of ruby regex online tool.

But unable to replicate this.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs