Manjaro Difference between revisions of "User:Megavolt/regex"

Difference between revisions of "User:Megavolt/regex"

From Manjaro
m (Update Special:MyLanguage)
m (Update Special:MyLanguage)
Line 8: Line 8:
! Usage !! Search !! Replace
! Usage !! Search !! Replace
|-
|-
| 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>
| 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/$5</nowiki>
|-
|-
|}
|}

Revision as of 08:17, 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/$5
Cookies help us deliver our services. By using our services, you agree to our use of cookies.