+ 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
2 Antworten
+ 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.
+ 1
Use Preg_match_all