Hello there I need regex expression which can do following transformation
alabala-1000 Intern -> alabala/alabala-1000/Intern
part before minus sign should be extracted and then space between alabala-1000 and Intern should be detected aswell
Hello there I need regex expression which can do following transformation
alabala-1000 Intern -> alabala/alabala-1000/Intern
part before minus sign should be extracted and then space between alabala-1000 and Intern should be detected aswell
You can use something like:
resultString = Regex.Replace(subjectString, @"(.+)-(\d+)\s+(.+)", @"$1/$1-$2/$3");