简体   繁体   中英

regular expression: a pattern either before or after a symbol

我需要找到与以下模式匹配的行:A xx B xx,其中xx是在B之前或之后的模式。

您可以尝试:

A (xx B|B xx)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM