Hi,
I'm using regex to filter content but can't find exactly what I want
Teset contents
Source | Target |
<&****> | <&****> |
<&any4> | <&any5> |
<&qazwe> | &<qazw>$1 |
&<wer> | &<<<< |
&any4; | &any4; |
&char; and &stri; | &char; and &stri; |
&prod-nx; | &prod-nx; |
&adfsadf; | &adfsadf; |
Regex
To find segments where Source and Target have the same <content>
Source : (\<.*?\>)
Target : $1
To find segments where Source and Target have the same &content;
Source : (\&.*?\;)
Target : $1
As you can see, <> is not working.
Besides, how can I find segments that have <content> in Source but not in Target?
^[$1] or [^$1] dosen't work.
Generated Image Alt-Text
[edited by: Trados AI at 4:48 AM (GMT 0) on 5 Mar 2024]
