tags:

views:

35

answers:

1

I need find a line matching a pattern like: A xx B xx, where xx is a pattern that is either before or after B.

A: 

You may try:

A (xx B|B xx)
galambalazs