ApSIC Xbench Forum

Regex for broken link

Hello support,

I would like to create a rule that detects if in a segment with text a tag is broken.

In example below, the colon breaks the link in the segment, as the colon is not in the right position in the target.

Source: except 2AR-FE:tag
Target: excepto 2AR-FEtag:tag

Can someone help?

Thanks in advance.

1 Like

I suppose that these tags are displayed in Xbench as they appear in the screenshot.
The following search should work if there are three tags in source without any character in between and they have been inserted in target in a different way:

Source: "(\<[^\>]+\>\<[^\>]+\>\<[^\>]+\>)=1"
Target: -@1
Search mode: Regular Expressions
PowerSearch: On.

1 Like

Great! It works. Thanks a lot.