View Single Post
Old 12-16-2012, 10:42 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,113
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by cybmole View Post
OK - so the {2,} says to only match 2 or more occurrences.

what does the initial (?sm) do , please.

if I plan on keeping one level of block quote, that needs to be in the replace also , I assume,

just replace \2 will remove all the blockquotes & leave only the text
the (?sm) is a control
m on multilines
s treat as a single line

the \2 is the second capture (.+?), so surround it with a BQ set in the replace
theducks is offline   Reply With Quote