Ok , self answer , i have found another answer somewhere to a different case that recommends to use
(?s:.*?)
and i put it inside the search : ParentId="(?s:.*?)" and it works perfectly
, for someone like me who is not a programmer and that is not planing to use xml and regex etc except for one thing im trying to achive , it seems using regex with xml is a great option cause its fastest and easiest for me , even if its not "correct" not best option for others , it still is the best option for me
this is a link to where i found that answer :
Regular Expressions- Match Anything
Apperntly also : ParentId=".*?" (difference is the added question mark) works as well
Not sure why this things work though