How to filter a string

Hi,

I would like to filter these set of string but I am unsure on how to do it.

Example:
Showing 1-2 of 2 records.

I want to keep the 2 next to the records, how should I do it?

Appreciate the kind advices :slight_smile:

Hi,

Can you try the following expression?

System.Text.RegularExpressions.Regex.Match(text,"\d+(?=\s*record)").Value

Regards,

Hi, thank you so much!

1 Like

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