I've come up with the solution that is better to read the file into a string and proceed as a whole. I've tried /\/\/*+(\w.+)\/\/*+/s and some others but it doesn't even come close to what I need. Any suggestions or ideas are more than welcome! Thank you.// useless comment Some Code //********************************************************** // //I need that text // And that also // //********************************************************** Some Code // useless comment
In reply to Regex needed :< by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |