Мазмұнға өту

Уикипедия:AutoWikiBrowser/Typos

Уикипедия — ашық энциклопедиясынан алынған мәлімет

Regular Expression Typographical error Fixer

Алмастырулар

Басқалар

<Typo word="hhttp" find="(H|h)http" replace="http" />

Қысқартулар

<Typo word="млн және млрд нүктесіз жазылу керек" find="(\s(млн|млрд))\.(\s[а-я])" replace="$1$3" />

HTML-код

<Typo word="<strong></strong>" find="(?i)<strong>(.*?)</strong>" replace="'''$1'''" />
<Typo word="<em></em>" find="(?i)<em>(.*?)</em>" replace="''$1''" />
<Typo word="<hr>" find="(?i)([\r\n])<hr[ /]*>([\r\n])" replace="$1----$2" />
<Typo word="<hr>" find="(?i)<hr ([^>/]+?)>" replace="<hr $1 />" />
<Typo word="<br />" find="</?(br|BR) ?/?>" replace="<br />" />
<Typo word="=" find="(?i)([\r\n]) *<h1> *([^<]+?) *</h1> *([\r\n])" replace="$1= $2 =$3" />
<Typo word="==" find="(?i)([\r\n]) *<h2> *([^<]+?) *</h2> *([\r\n])" replace="$1== $2 ==$3" />
<Typo word="===" find="(?i)([\r\n]) *<h3> *([^<]+?) *</h3> *([\r\n])" replace="$1=== $2 ===$3" />
<Typo word="====" find="(?i)([\r\n]) *<h4> *([^<]+?) *</h4> *([\r\n])" replace="$1==== $2 ====$3" />
<Typo word="=====" find="(?i)([\r\n]) *<h5> *([^<]+?) *</h5> *([\r\n])" replace="$1===== $2 =====$3" />
<Typo word="======" find="(?i)([\r\n]) *<h6> *([^<]+?) *</h6> *([\r\n])" replace="$1====== $2 ======$3" />

Unicode

<Typo word="&mdash;" find="&mdash;" replace="—" />
<Typo word="&nbsp;" find="&nbsp;" replace=" " />
<Typo word="&raquo;" find="&raquo;" replace="»" />
<Typo word="&laquo;" find="&laquo;" replace="«" />

Wiki-код

<Typo word="Жуан мәтін" find="\'\'\'Жуан мәтін\'\'\'" replace="" />
<Typo word="Көлбеу мәтін" find="\'\'Көлбеу мәтін\'\'" replace="" />
<Typo word="Санат" find="(\[\[|\[\[:)((C|c)ategory|(К|к)атегория):" replace="$1Санат:" />
<Typo word="Сурет" find="(\[\[|\[\[:)((I|i)mage|(И|и)зображение|(F|f)ile|(Ф|ф)айл):" replace="$1Сурет:" />