Forum Discussion
1 Reply
Sort By
- JHuntCommunity Hero
Hi,
Here's a Groovy example of how to get the value for multiple matches:
assert ('abc1 def2 abc5 def6' =~ /abc(\d)/).findAll() == [['abc1', '1'], ['abc5','5']]
Related Content
- 4 months ago
- 11 years ago
- 5 years ago
Recent Discussions
- 2 days ago