View Single Post
Old 08-05-2019, 12:09 AM   #6
The_Goblin
Junior Member
The_Goblin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2019
Device: none
A Little Tweak

Looks like I spoke too soon, none of the expressions caught all of the //. However, I did figure a solution, so if you need something similar and the prior answers don't work quite right, try this:

Code:
//\s*(.*?)\s*\/\D
(with "dot all" checked) It did not make a difference if the first two // were escaped.

It wasn't flawless, it would catch:
Code:
//Me? You can't be me. <i class="calibre4">I'm</i> me.//
Here's an example of what the other solutions selected, in red:

Code:
// Could
    it be? // he asked himself, // could it possibly be after so,
    so very long? //
Code:
(all text until prior //) He projected as strongly as he could. // Center,  C'mon. You can do this. You CAN. //
The_Goblin is offline   Reply With Quote