output in
c# regex reg =new regex(@"\s{2,5"}:// match
m preg_match("HCL 56475689")
of(my.Success)
{
console.write(M.Value)
}
output in
c# regex reg =new regex(@"\s{2,5"}:// match
m preg_match("HCL 56475689")
of(my.Success)
{
console.write(M.Value)
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravinder SharmaRank #1,211 · 1.5K reputationPosted Jul 5, 2021, 11:42 PM EDT
Provide more details:
Return False
Regex reg = new Regex(@"\s{2,5}:");
var m = reg.Match("HCL 256475689");
if (m.Success)
{
Console.WriteLine(m.Value);
}
else
{
Console.WriteLine(m.Success);
Console.WriteLine(m.Value);
}