2009-12-19, 02:15 AM
Version 3.0
New Title:
Fractions 3.0
New Regex:
New Replacement:
Outdated Below!
Fractions MyCode
Updated Version:
Regex:
Replacement:
Outdated below
Regex
Replacement
Usage
This will create fractions as displayed here:
http://changelog.ca/log/2008/07/01/writi...ns_in_html
Update to the regex:
And the replacement:
New Title:
Fractions 3.0
New Regex:
(^|\s)(\d+)/(\d+)(sts|nds|rds|ths)?(\s|$)
New Replacement:
$1<sup>$2</sup>⁄<sub>$3$4</sub>
Outdated Below!
Fractions MyCode
Updated Version:
Regex:
\[f\](\d+)/(\d+)(sts|nds|rds|ths)?\[\/f\]
Replacement:
<sup>$1</sup>⁄<sub>$2$3</sub>
Outdated below
Regex
(\d+)/(\d+)
Replacement
<sup>$1</sup>⁄<sub>$2</sub>
Usage
17/93
This will create fractions as displayed here:
http://changelog.ca/log/2008/07/01/writi...ns_in_html
Update to the regex:
(\d+)/(\d+)(st|nd|rd|th)?
And the replacement:
<sup>$1</sup>⁄<sub>$2$3</sub>