abhijangda
Padawan
hello everybody, I want to create a regular expression (in Python) for which I select all the string in between
/* and */ including all spaces, tabs, newline etc.
for example,
/* HELLO */
/* HELLO
EVERYONE */
these should be selected with and without \n. I have trying for 2 hrs and still trying. I was able to achieve without newline character, i.e. I can get string /* HELLO */ but not
/* HELLO
EVERYONE */
I did the following
/\*(\w+\s*+\n*)+\*/
/\*[\w+\s*+\n*]+\*/
any many other do not remember all that.
Please write that regular expression for me!!
/* and */ including all spaces, tabs, newline etc.
for example,
/* HELLO */
/* HELLO
EVERYONE */
these should be selected with and without \n. I have trying for 2 hrs and still trying. I was able to achieve without newline character, i.e. I can get string /* HELLO */ but not
/* HELLO
EVERYONE */
I did the following
/\*(\w+\s*+\n*)+\*/
/\*[\w+\s*+\n*]+\*/
any many other do not remember all that.
Please write that regular expression for me!!