Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > "velocity(22)".match("\(([^()]*)\)");
- [ '(22)', '22', index: 8, input: 'velocity(22)' ]
- > "velocity(22 (m/s))".match("\(([^()]*)\)");
- [ '(m/s)', 'm/s', index: 12, input: 'velocity(22 (m/s))' ]
Add Comment
Please, Sign In to add comment