Difference between revisions of "Erasesentence"

From Theonomy Wiki
(account for additional span)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[:Thread:Talk:Erasesentence/How_to_use_this_template|How to use this template]]</noinclude>{{#switch:{{{2|1}}}
 
<noinclude>[[:Thread:Talk:Erasesentence/How_to_use_this_template|How to use this template]]</noinclude>{{#switch:{{{2|1}}}
|1={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?[^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2{{{3|}}}$3|}}
+
|1={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?( *<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2$3{{{3|}}}$4|}}
|2={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2{{{3|}}}$3|}}
+
|2={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?( *<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2$3{{{3|}}}$4|}}
|3={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2{{{3|}}}$3|}}
+
|3={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?( *<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2$3{{{3|}}}$4|}}
|4={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2{{{3|}}}$3|}}
+
|4={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?( *<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2$3{{{3|}}}$4|}}
|5={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2{{{3|}}}$3|}}}}
+
|5={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?(<span[^>]*>\d+</span>)?( *<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2$3{{{3|}}}$4|}}
 +
}}

Latest revision as of 22:24, 12 March 2021