User:Xenwolf/Regex snippets
Jump to navigation
Jump to search
These are regular expressions I use in Notepad++, they are also usable in Perl.
Pattern to Find | Replace by | Purpose |
---|---|---|
\|\s*([^|]+?)\s*>
|
{{Monzo|\1}}
|
replace inline-monzos in tables |
^\| \|
|
|
|
remove empty styling from table cells |
\[\[([\d/]+)\|\1\]\]
|
[[\1]]
|
simplify wiki links |
|
|