Hi Sahana,
For isntance (there are some others solutions), you can use std fonction: "endsWith" which returns a boolean if it's ok. With this fct, you control if your Source is ending with a constant (like yours 'xyz.co.uk').
After, that you can easily test with a IF..ELSE, if this boolean is 'true' or 'false... and create or not the target node..
regards
Mickael