I have string of the following format
Pending status started at 11/03/2019 11:32
User: XY_Z
moj/f112
Reason: Linked to Major/P1 Ticket
In the above scenario I want to remove the forward slash (/) in moj/f112 and Major/P1 but not in the date i.e 11/03/2019.
I tried \D\/\D/ig but then it will select all the forward slashes and did some trials like ^(\d{2}\/\d{2}\/\d{4})(and ?)\D\/\D/ig .
I am not used to working with regular expressions, and running short of time.
Any help ?
Thanks a lot in advance. :)