c# - How to find all matches -


i want find matches in string "\abc/something/\abc/" ignoring part:

if string is:

string str = @"\abc/something\abc/\abc/something\abc/;

how should write pattern 2 matches of \abc/something\abc/?

since using ^ , $ define beginning , end in case wouldn't work entire string begin , end that.

you can try out various regex's here: http://regexstorm.net/tester

but looks should match on \\abc/


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -