View Single Post
Old 03-29-2023, 03:04 PM   #977
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
--Read the EPOM Tooltips for the Dotall flag, plus all the others too.

--Do what is stated in the 'added' in my last post, and learn why.

--Add a '?' in your regex where suggested in the Tooltips.

--Teach yourself regular expressions by trial-and-error in Pythex, using the cheat-sheet as a reference.

--Find an online Python regular expression tutorial, and take it, paying special attention to the Multiline and Dotall flags. Trial-and-error is highly educational if you use one of your real example texts.

DaltonST
DaltonST is offline   Reply With Quote