Trying to match a string with many backslashes
-
Hello there, I have a string that looks like this
\abc\rvr\sad\dqwdwq Some text \rfdqwdvr\rtgevr\rgwvrr\23rvrv Some text \rffewvr\rfewvr\rvfewrr\rvrwefewv
I want to match the parts of the string that are connected by the backslashes. I partially achieved this with
[\\][A-z0-9]+
but this only matches the first one. How can I match every part with backslashes in this string? Thanks
-
Hello there, I have a string that looks like this
\abc\rvr\sad\dqwdwq Some text \rfdqwdvr\rtgevr\rgwvrr\23rvrv Some text \rffewvr\rfewvr\rvfewrr\rvrwefewv
I want to match the parts of the string that are connected by the backslashes. I partially achieved this with
[\\][A-z0-9]+
but this only matches the first one. How can I match every part with backslashes in this string? Thanks