ApSIC Xbench Forum

Help with a regex rule

I’m trying to create a personal checklist rule where it would detect if in a segment there is an occurrence of “TAGpx” (without a space between the tag and “px”) in source and in target. The tag here is obviously a variable, but I don’t know if it is possible to set up such a rule? Would you be able to help me out? Thank you.

1 Like


I would use the following search to detect those segments:

Source: "[^[:space:]]px>"
Target: "[^[:space:]]px>"

Search mode: Regular Expressions
PowerSearch: On.

If you want to detect only in Source or only in Target, create a checklist entry with the source or target search.

If you specify a variable sample, we could improve the search.

1 Like

Thank you, it works!