如何将特定的线组合在一起(How to combine specific Lines together)

当我有常规格式时如何将线组合在​​一起:

Input: 4446351 Output: kkmeshla

并需要:

4446351|kkmeshla

How to combine Lines together when i have regular format:

Input: 4446351 Output: kkmeshla

and need:

4446351|kkmeshla

最满意答案

怎么样:

找到: Input:\s*\R(.+)\ROutput:\s*\R 替换为: $1|

必须检查Regular expression 。

\R代表任何换行符,即。 \n或\r或\n\r

How about:

Find what: Input:\s*\R(.+)\ROutput:\s*\R Replace with: $1|

Regular expression must be checked.

\R stands for any line break, ie. \n or \r or \n\r

如何将特定的线组合在一起(How to combine specific Lines together)

当我有常规格式时如何将线组合在​​一起:

Input: 4446351 Output: kkmeshla

并需要:

4446351|kkmeshla

How to combine Lines together when i have regular format:

Input: 4446351 Output: kkmeshla

and need:

4446351|kkmeshla

最满意答案

怎么样:

找到: Input:\s*\R(.+)\ROutput:\s*\R 替换为: $1|

必须检查Regular expression 。

\R代表任何换行符,即。 \n或\r或\n\r

How about:

Find what: Input:\s*\R(.+)\ROutput:\s*\R Replace with: $1|

Regular expression must be checked.

\R stands for any line break, ie. \n or \r or \n\r