Difference between revisions of "User:Megavolt/regex"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
m (added <nowiki> tag) |
m (Update Special:MyLanguage) |
||
Line 8: | Line 8: | ||
! Usage !! Search !! Replace | ! Usage !! Search !! Replace | ||
|- | |- | ||
| Add "Special:MyLanguage" to internal links || <nowiki>(?!\[\[ | | Add "Special:MyLanguage" to internal links || <nowiki>(?!\[\[(C|c)ategory|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z '+-_]+)</nowiki> || <nowiki>[[Special:MyLanguage/$1</nowiki> | ||
|- | |- | ||
|} | |} |
Revision as of 08:04, 29 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 | (?!\[\[(C|c)ategory|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z '+-_]+) | [[Special:MyLanguage/$1 |