Title |
Test
Find
Extract URI Match from MediaWiki External Links and seperate from title
|
Expression |
(?<=\r\n)\[.*\] |
Description |
This will match the URI in an internal wiki link separately from its title in mediawiki content. |
Matches |
[https://sub.domain.com/wiki/index.php?title=test Sample Wiki Link] | [https://regexlib.com/page.aspx Example External Wiki Link] | [https://servername/subfolder/sample.txt Sample Web Document Link] |
Non-Matches |
[file://\\servername\subfolder\sample.txt Sample Text Link] | [[An External Link] | ===[https://sub.domain.com/wiki/index.php Will Not Match a link surrounded by a header]=== |
Author |
Rating:
Not yet rated.
Matthew Reinsmith
|
Source |
mreinsmith |
Your Rating |
|