Download from this link: https://github.com/hamza3344/extractn...
Regular Expression: (?=(?:\D*\d){10,15}\D*$)\+?[0-9]{1,3}[\s-]?(?:\(0?[0-9]{1,5}\)|[0-9]{1,5})[-\s]?[0-9][\d\s-]{5,7}\s?(?:x[\d-]{0,4})?
My fiverr link: https://www.fiverr.com/hamzakhalid178
My Upwork Profile: https://www.upwork.com/freelancers/~0...
Whatsapp Number: +923338672398
contact me on [email protected] for custom software's.
Please share and like the video and subscribe the channel
If any question comment below
for supporting the channel
make a honeygain account by my referral link and make a passive income for me and you.
https://r.honeygain.me/HAMZA16262
code:
static string regularexpression = @"(?=(?:\D*\d){10,15}\D*$)\+?[0-9]{1,3}[\s-]?(?:\(0?[0-9]{1,5}\)|[0-9]{1,5})[-\s]?[0-9][\d\s-]{5,7}\s?(?:x[\d-]{0,4})?";
//find the regular expression in description
Regex _filternumber=new Regex(regularexpression);
public string getnumber(string input)
{
string s1 = "";
foreach(Match m in _filternumber.Matches(input))
{
if(!s1.Contains(m.Value))
{
s1=s1+m.Value+Environment.NewLine;
}
}
return s1;
}
Watch video How to extract phone number from string using regular expression c#. online without registration, duration hours minute second in high quality. This video was added by user IT Core Soft 04 December 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8 once and liked it people.