+ 2

Count Special Characters in String

i want to count special character in emails R.OSE.AN.T.H.ONY.01.1@GMAIL.COM = 7 RO.S.EAN.TH.ON.Y01.1@GMAIL.COM = 6 ROSE.ANTH.ON.Y0.1.1@GMAIL.COM = 5 RO.SEAN.TH.ON.Y0.1.1@GMAIL.COM = 6

20th Feb 2020, 11:03 AM
Muhammad Idrees 🇵🇰
Muhammad Idrees 🇵🇰 - avatar
2 Respostas
+ 1
From your given example I conclude that task is to count period (.) in substring before @. @ is also special charecter. if you meant to count special charecters then given examples are wrong.
20th Feb 2020, 11:10 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 1
Use Preg_match_all
20th Feb 2020, 11:01 PM
shabana idrees