- All transformations are shown for english. It might differ for other languages.
- Non-breaking space is represented as ⍽ character.
Description | Input | Output |
---|---|---|
two consecutive hyphens surrounded by whitespaces into en dash | lorem -- ipsum | lorem – ipsum |
keep two consecutive hyphens if not surrounded by whitespaces | lorem--ipsum --dolor | lorem–ipsum –dolor |
three consecutive hyphens into em dash | lorem --- ipsum---dolor | lorem — ipsum — dolor |
three consecutive hyphens at the end of line or input into em dash | lorem ipsum--- lorem ipsum--- | lorem ipsum — lorem ipsum — |
hyphen surrounded by whitespaces into default dash | lorem - ipsum | lorem – ipsum |
keep hyphen if not surrounded by whitespaces | lorem-ipsum -dolor | lorem-ipsum -dolor |
hyphen surrounded by numbers into en dash | 1-5 | 1–5 |
take only word spaces as possible whitespaces in hypen to dash rule | lorem - ipsum lorem - ipsum | lorem - ipsum lorem - ipsum |
Description | Input | Output |
---|---|---|
minus sign between numbers | 3 - 2 | 3 − 2 |
minus sign right before number | -1 | −1 |
multiplication sign between numbers | 2 x 3 2x3 2 * 3 2*3 | 2 × 3 2x3 2 × 3 2*3 |
division sign between numbers | 2 / 3 2/3 | 2 ÷ 3 2/3 |
plusminus sign | +- + - | ± + - |
inequality sign | != ! = | ≠ ! = |
plusminus sign before number | +-3 | ±3 |
less than or equal to sign | <= < = =< | ≤ < = =< |
greater than or equal to sign | >= > = => | ≥ > = => |
Description | Input | Output |
---|---|---|
double straight quotes into curly quotes | "lorem ipsum" | “lorem ipsum” |
double straight quotes inside parentheses into curly quotes | ("lorem ipsum") | (“lorem ipsum”) |
keep double straight quotes if they are not in a pair | "lorem ipsum | "lorem ipsum |
keep double straight quotes if they do not represent actual quotes | " lorem ipsum" | " lorem ipsum" |
keep double straight quotes if they are not in a pair | "lorem ipsum | "lorem ipsum |
multiple double straight quotes into curly quotes | "lorem" "ipsum" | “lorem” “ipsum” |
single straight quotes into curly quotes | 'lorem ipsum' | ‘lorem ipsum’ |
single straight quotes inside parentheses into curly quotes | ('lorem ipsum') | (‘lorem ipsum’) |
keep single straight quotes if they are not in a pair | 'lorem ipsum | 'lorem ipsum |
keep single straight quotes if they are not in a pair | 'lorem' ipsum' | ‘lorem’ ipsum' |
keep single straight quotes if they do not represent actual quotes | ' lorem ipsum' | ' lorem ipsum' |
multiple single straight quotes into curly quotes | 'lorem' 'ipsum' | ‘lorem’ ‘ipsum’ |
two consecutive commas into double double open down quote if a matching quote is found | ,,lorem" ,,ipsum'' | „lorem” „ipsum” |
keep two consecutive commas if no matching quote is found | lorem ,,ipsum | lorem ,,ipsum |
comma into single open down quote in certain cases if a matching quote is found | lorem ,ipsum' | lorem ‚ipsum’ |
keep comma if it is probably comma | lorem, ipsum' lorem,ipsum' ,lorem | lorem, ipsum' lorem,ipsum' ,lorem |
double straight quote after number into double prime (inch symbol) | 123" | 123″ |
single straight quote after number into single prime (foot symbol) | 123' | 123′ |
single straight quote between two letters into apostrophe | it's | it’s |
single straight quote between two letters into apostrophe inside of single curly quotes | 'it's' | ‘it’s’ |
mixed single and double straight quotes also with apostrophes in various contexts | I wasn't a particular fan of the music in the '80s. And then she blurted, "I thought you said, 'I don't like '80s music'?" | I wasn’t a particular fan of the music in the ’80s. And then she blurted, “I thought you said, ‘I don’t like ’80s music’?” |
one-character content | "1" | “1” |
Description | Input | Output |
---|---|---|
trim multiple spaces into single one | lorem ipsum dolor | lorem ipsum dolor |
non-breaking space after paragraph symbol | ¶ | ¶⍽ |
non-breaking space after section symbol | § | §⍽ |
non-breaking space after copyright symbol | © | ©⍽ |
non-breaking space after trademark symbol | ™ | ™⍽ |
non-breaking space after registered trademark symbol | ® | ®⍽ |
Description | Input | Output |
---|---|---|
copyright | (c) (c) (C) 2(c) 2(C) (c) | ©⍽ ©⍽ ©⍽ 2(c) 2(C) ©⍽ |
trademark | (tm)(tm) (TM)(TM) | ™⍽™⍽™⍽™⍽ |
registered trademark | (r)(r) (R)(R) | ®⍽®⍽®⍽®⍽ |
ellipsis | ... a...z .... ...... | … a…z .... ...... |
arrows | <- -> | ← → |
double question mark | ?? | ⁇ |
question exclamation mark | ?! | ⁈ |
exclamation question mark | !? | ⁉ |
multiple question marks | ??? ???? | ⁇ ⁇ |
multiple exclamation marks | !! !!!! | ! ! |
question exclamation mark with multiple exclamation marks | ?!! ?!!! | ⁈ ⁈ |
exclamation question mark with multiple question marks | !?? !??? | ⁉ ⁉ |