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 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,
How about the following expression?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=Period:\s*)\d+").Value
Regards,
Regex:
System.Text.RegularExpressions.Regex.Match(Input,"(?<=Period.\s*)\d+").Value.Trim
Xaml:
Sequence11.xaml (7.2 KB)
Regards