Difference between revisions of "Erasesentence"

From Theonomy Wiki
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|}}}|/^[^\.\;\?\!]+[\.\;\?\!](.*)/s|$1}}
+
|1={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2}}
|2={{#rmatch:{{{1|}}}|/^[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1|}}
+
|2={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2|}}
|3={{#rmatch:{{{1|}}}|/^[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1|}}
+
|3={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2|}}
|4={{#rmatch:{{{1|}}}|/^[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1|}}
+
|4={{#rmatch:{{{1|}}}|/^(<span[^>]*>)?[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!](.*)/s|$1$2|}}
|5={{#rmatch:{{{1|}}}|/^[^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!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