Difference between revisions of "Erasesentencefromend"
From Theonomy Wiki
Line 1: | Line 1: | ||
{{#switch:{{{2|1}}} | {{#switch:{{{2|1}}} | ||
− | |1={{#rmatch:{{{1{{#scripture:Deuteronomy 14:21}}|}}}|/^(.*?) | + | |1={{#rmatch:{{{1{{#scripture:Deuteronomy 14:21}}|}}}|/^(.*?) |
− | [^\.\;\?\!]+ | + | [^\.\;\?\!]+ |
[\.\;\?\!]* \# Any number of sentence delimiters | [\.\;\?\!]* \# Any number of sentence delimiters | ||
− | ([^\.\;\?\!]*?) | + | ([^\.\;\?\!]*?) |
− | $ | + | $ |
/sx|$1$2}} | /sx|$1$2}} | ||
|2={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}} | |2={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}} |