Current regEx
(?<=:).*(\d)
^^^ this is returning “FSH 6509.14”, I need it to return “Chris” instead.
{
Data sample
(Ref: FSH 6509.14)
- Employee Name: Chris
}
Current regEx
(?<=:).*(\d)
^^^ this is returning “FSH 6509.14”, I need it to return “Chris” instead.
{
Data sample
(Ref: FSH 6509.14)
}
Hey @chris.bartkewicz
Try this:
System.Text.RegularExpressions.Regex.Match(inputText, "(?<=Employee Name:\s*)\w+").Value
Hi @chris.bartkewicz To capture only the Employee Name, you can use
(?<=Employee Name: \s*).*
Let us know how the above suggestions went by marking the appropriate response as the solution.
Cheers
Steve