Using Regex to Extract Data

Hello,

I am trying to use the regex based extractor activity and want to extract information if it comes after the phrase “service for” or “service address”. Is there a way to check for both phrases in the same activity and pull the information right after those expressions?

@Sahil_J_Patel - Using the OR condition as showed below you can capture it…

Hope this helps…

Hey Prasath,

My screen looks a little different. Would I type that pattern into my full expression.

@Sahil_J_Patel - Once you tested your expression is working in the Regexbased editors…then you can provide the expression straightaway in the “Expression” field without clicking the Edit…

Note: I am not good at using Regex builder, so when I use Regex based extractor I follow the my regular regex approach (by providing the expression )

So if I were to type that pattern into my expression then I would get the same results as you have posted with "service for sahil " and “service address prasath” ?

@Sahil_J_Patel - Yes please check here…I guess you have to click on capture to show it on the PVS(Present Validation Station)…you can give it a try on without clicking capture also…

Thank you for the help!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.