Hi Team Need one Regex for these String

Hi Team,
I need Regex for below string

String=“Period: 202207”

I need value of numbers like -202207 here ‘Period:’ is constant

please help me in these regex

Regards
Sai

Hi @Mada_Sai_Krishna

Use the below regex expression:

(?<=Period.\s*)\d+

Regards

Hi,

How about the following expression?

System.Text.RegularExpressions.Regex.Match(yourString,"(?<=Period:\s*)\d+").Value

image

Regards,

HI @Mada_Sai_Krishna

Regex:

System.Text.RegularExpressions.Regex.Match(Input,"(?<=Period.\s*)\d+").Value.Trim

Xaml:
Sequence11.xaml (7.2 KB)

Regards