Extract String betwien two characters

Hi, can somebodey help me extract the string betwien # and #.
Ex. “pkashvje987654321adfbsv#123456789#wefawrefb” resoult = “12346789”

HI @tomaz

Check out the expression

System.Text.RegularExpressions.Regex.Match(YourString,"(?<=#)\d*(?=#)").Tostring

image

Hi @tomaz

Check this too

System.Text.RegularExpressions.Regex.Match(YourString,"(?<=#)\d.*(?=#)").Tostring

image

Regards
Gokul