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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -