I have a filed that has value something like this:
ww.abcd.hongkong
ww.abcd.cn
ww.abcd.asiaenglish.ph
ww.abc.us
I want to extract last part of this as country filed. Can someone help with regular expression please.
Thank you.
Hi sandeepmakkena,
try this regex:
! rex field=my_field "(?<contry>\w+)$"
You can test it at https://regex101.com/r/gNwfuc/1
Bye.
Giuseppe
Hi sandeepmakkena,
try this regex:
! rex field=my_field "(?<contry>\w+)$"
You can test it at https://regex101.com/r/gNwfuc/1
Bye.
Giuseppe