Need regex for below file name extract number in starting name

Hey @Vicky_K , try using this regex:

\d+(?=_)
image

You can try using this:
System.Text.RegularExpressions.Regex.Matches((“String Containing file names”),“\d+(?=_)”)

3 Likes