User:Dinoguy1000/AWB

From Yugipedia
Jump to: navigation, search

Find and replace[edit]

General replaces[edit]

Find Replace with CaseSensitive Regex MultiLine SingleLine Minor After fixes Comment
\u200E|\uFEFF|\u200B|\u2028|\u202A|\u202C|\u202D|\u202E x Unicode control characters - wikipedia:WP:CWERRORS #16
 |\t|\v|\f|\u00A0   x replace tabs et al with regular spaces
\n{3,} \n\n x collapse 3+ newlines to 2
^ *|(?<!\=) *$ x x rm leading/trailing whitespace (except after equals signs)
 {2,}(?![ =|])   x collapse whitespace (except in template parameters or gallery entries)
^\!\| ! x x fix gallery markup
\[\[ ?Image ?\: ? [[File: x Image: --> File:
(?<!\u201E.*?)\u201C(?![ \n]) " x fancy double-quote cleanup: opening (except for German quotes)
\u201D " fancy double-quote cleanup: closing
\u2018 ' fancy single-quote cleanup: opening
\u2019 ' fancy single-quote cleanup: closing
\< ?\/?\\? ?br ?\/?\\? ?\> <br /> x <br /> cleanup - wikipedia:WP:CWERRORS #02
_+ _ x collapse underscores

{{CardTable2}}-specific[edit]

Find Replace with CaseSensitive Regex MultiLine SingleLine Minor After fixes Comment
^\|* *(.+?) *= * |$1 =  x x standard spacing on CardTable2 params
\|name = ?\n x rm empty "name" parameters
\{\{ ?(?:Approximated?|Unofficial) (nam|lor)es? ?\| {{Unofficial $1e| x {{Approximate[d] (name|lore)[s]}} --> {{Unofficial (name|lore)}}
}}\n\{\{CardTable2 }}\n\n{{CardTable2 x