How select the top index in text

Good afternoon!
I have a text that has an asterisk top index.
For example, 4**, 5****, 6*
I need to select these *** and calculate their number.
Can you please tell me how this can be done?
Do I have to use Regex for this? and if so, which one?

Hi there, @olgahvesko… if you are trying to get a count of the asterisks in a string, one way you could go is to take the number of characters in the original string and subtract the number of characters in the string where you have used the :find & replace operator to replace the asterisks with nothing. So, something like this…

Hope this helps.


1 Like

Yes, that is helped. Thank you very much!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.