Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
1636848613
Contributor III
Contributor III

tExtractRegexFields - syntax to extract string between two other strings

Hi,

Novice here so please help if you can.

I am trying to extract a string from a url that is enclosed with two other strings.

eg,

www.lotsofirrelevantdata.com/nothingofinterest/dp/thestringIwant/refandmorestuffIdontwant

In the above scenario I want the string between dp/ and /ref but cant get the syntax right for the tExtractRegexField component. Any help would be greatly appreciated.

Luke

Labels (2)
1 Reply
1636848613
Contributor III
Contributor III
Author

Couldnt have been easier....

 

"dp/(.*)/ref"