I am using groovy regex: notification.ietf-restconf:notification.my-pma-device-notification:device-notification.device-notification.notification.~/.[A-Za-z]$/.entity-ref* for any string between notification and entity-ref but its not working.
What should be the regex for any string to exist between these two fields (groovy)?