Not able to extract the data using regex

Hi @Jitendra_Saroj

Welcome to UiPath community

Check out this expression

This will get only the PhD degrees count

System.Text.RegularExpressions.Regex.Match(YourString,"\d*[0-9](?= PhD)|[0-9]*\s(?=people with PhD degree)").Tostring

This will get only the Master degrees count

System.Text.RegularExpressions.Regex.Match(YourString,"\d*[0-9](?= master)|[0-9]*\s(?=people with master degree)").Tostring

Regards
Gokul