Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
default branch name
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { string storyTitle = ""; string storyNumber = ""; var reg = new Regex(@"(\s|,|\.|\\)"); string storyTitleChanged = reg.Replace(storyTitle, "_"); //Your code goes here Console.WriteLine(string.Format("CCDT_{0}_{1}", storyNumber, storyTitleChanged)); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Hex character codes
Parsing a multi-line text file with comments
Fórum ➡ Rotating a Square Matrix One Cell Counter Clockwise
Prime no for specified max no by user(Using While Loop)
gelman
asdasd
ok
Enums
a.i. neural framework / J.A.R.V.I.S. / Just A Rather Very Intelligent System
5454
stackse - search stackoverflow differently
Please log in to post a comment.