Home > Back-end >  Regular expression problems
Regular expression problems

Time:10-05

CCCC & lt;/span>
DDDD & lt;/span>

Extraction of red font part and red part may be digital, Chinese, English, is uncertain, aaaa part is also uncertain
I can't a extraction with zero width assertion, scoring twice, can you out a
I am not in the assertion. * writing, how do you write a write such an error, or other written

(? <=& lt; Td width="" & gt; <(span) (. *)?=& lt;/span> )
Get
Title="aaaa" & gt; CCCC
DDDD

(? <=& gt;) (. *)
Get
CCCC
dddd

CodePudding user response:

(? <=\ & lt; Span [^ \ & gt;] * \ & gt;) [^ \ & lt;] +

CodePudding user response:

(. *?)

CodePudding user response:

  • Related