Como conseguir una variable de una web

buenas tardes,
queria sacar un dato y convertirla en una variable de un texto dentro de un boton en internet. El problema es que usé get text pero me coge toda la frase del boton y yo solo quiero coger un numero en concreto… que puedo hacer para coger solo ese numero en concreto dentro de todo el texto del boton??

gracias por adelantado

Hi @alberto67 ,

You can take entire text using get text and take the required number using regex as shown below:

System.Text.RegularExpressions.Regex.Match(extractedText,“\d+”).ToString

Try this, if it doesn’t work, please share the text and required output.