Difference between revisions of "User:Megavolt/regex"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
(first entry) |
m (added <nowiki> tag) |
||
Line 8: | Line 8: | ||
! Usage !! Search !! Replace | ! Usage !! Search !! Replace | ||
|- | |- | ||
| Add "Special:MyLanguage" to internal links || (?!\[\[File:|\[\[Image:|\[\[Special:MyLanguage/)\[\[([A-Za-z '+-]+) || [[Special:MyLanguage/$1 | | Add "Special:MyLanguage" to internal links || <nowiki>(?!\[\[File:|\[\[Image:|\[\[Special:MyLanguage/)\[\[([A-Za-z '+-]+)</nowiki> || <nowiki>[[Special:MyLanguage/$1</nowiki> | ||
|- | |- | ||
|} | |} |
Revision as of 02:50, 28 March 2021
Here i will add a list of regex commands for daily usage for remembering.
Usage | Search | Replace |
---|---|---|
Add "Special:MyLanguage" to internal links | (?!\[\[File:|\[\[Image:|\[\[Special:MyLanguage/)\[\[([A-Za-z '+-]+) | [[Special:MyLanguage/$1 |