Regular Expression Asset not working 2

Matrix Version: 5.4

I have this very simple Regex -

(international)$

Used with delimiters in Matrix regex asset like this /(international)$/

Test string

http://www.abc.com/course/bachelor-creative-arts-television-international

Its matching perfectly here https://regex101.com/

but not replacing my string. Strange ???

Hi
Seems like it should work. How are you implementing it? eg in an listing using %asset_url^preg_replace:1234%
Thanks
Peter

Maybe too obvious, but is there a space or other character at the end of the string?