Hi folks,
I was wondering if there is a quick way to extract the end of a URL (within the URI portion) and put it in a field.
www.example.com/2014/05/15/world/africa/sudan-christian-woman-apostasy/index.html
www.example.com/test/sudan-christian-woman-apostasy/test.zip
So I would only want index.html and test.zip to show up in a new field.
Hope this is easy to do, it probably is.
Try this
| rex field=fiels_name "\/(?<File>\\w+\\.\\w+)"
Thanks
This works perfect. Thanks for taking the time!