Messages
Topics
Lists
Groups
Marketplace
Jobs
Riley Lambert
5 years ago
I need to extract from the below string
2_240219_0.vnd as 240219
2_240219_0.vnd
240219
I have tried as follows: _[0-9]+_
_[0-9]+_
This gives me _240219_
_240219_
How do I remove the _ from both ends.
_
#c-sharp #regex