I am trying to create one regular expression expression for the sample text below in which I need to replace the text with bold . So far I could achieve this ((\|)).*(\|) , Which selects the entire line between the first and last pip char. I have to use apache or java regular expressions.
Example line: where the length of text between pipes can vary
1.1|ProvCM|111111111111|**10.15.194.25**|10.100.10.3|10.100.10.1|docsis3.0
Ramsh source share