I need to match all the * in a txt, but not when the * is preceded by a /.
I have tried with: [^/]\*
But when match, it matches with * and not with *.
Any suggestions?
CodePudding user response:

I need to match all the * in a txt, but not when the * is preceded by a /.
I have tried with: [^/]\*
But when match, it matches with * and not with *.
Any suggestions?
CodePudding user response: