I need to write a regex pattern that matches (somethingA|som ethingB) and
replace it with text on the left side of |
Input
"(something ) something (somethingA|som ethingB) something
(somethingC|som ethingD) (something) something"
Output
"(something ) something (somethingA) something (somethingC) (something)
something"
Thanks
Tem
replace it with text on the left side of |
Input
"(something ) something (somethingA|som ethingB) something
(somethingC|som ethingD) (something) something"
Output
"(something ) something (somethingA) something (somethingC) (something)
something"
Thanks
Tem
Comment