© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
Groophy

replace 'backslah' to 'doublebackslah' but if char already not double

a\aa\a -> a\\aa\\a

ab\\aba\aa\a -> ab\\aba\\aa\\a
a\aa\a -> a\\aa\\a

ab\\aba\aa\a -> ab\\aba\\aa\\a
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ Using `Func<ReadOnlySpan<char>,bool>` but not allowed due to Pointer Type
C#CC# / help
2y ago
Char help
C#CC# / help
13mo ago
char.IsLetterOrDigit
C#CC# / help
2y ago
❔ if(e == 1){e += double.Epsilon;}
C#CC# / help
3y ago