I am not very good at regular expressions, tell me what I'm doing wrong.
Task: It is required to delete all text that starts with /* and ends with */ .
My version: /\*(.|\n|\r)*\*/
If not difficult, explain that I do not understand correctly.
/\*- line starts with/*(.|\n|\r)*- any character\*/- until you meet*/
*is a special character, denotes 0 or more repetitions of a character. means/*means 0 or more skews, i.e. reacts essentially to anything. put in front of*backslash - Mike