Count specific character in textbox

I want to count the total numbers of comma (,) in a textbox. I don’t have any idea regarding it. If anyone has done something like this, then please help me. My text box will contain something like this: 9876543210,123456789,5851268525. A comma in every text.

Using regex extension by @Kevinkun

5 Likes

Almost same blocks with easy logic :slightly_smiling_face:

image

2 Likes

Thank you everyone and specially @dora_paz . :smiling_face_with_three_hearts: :smiling_face_with_three_hearts:, . Now, its working fine

1 Like

I thought the same thing but if there is a comma after last word this doesn’t work

Instead

2 Likes

Maybe like this:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.