You are here: PSPad forum > English discussion forum > Re: URL regex issue
Posted by: maki | Date: 2018-06-04 18:43 | IP: IP Logged
How to find only the full address but ignore others
Include:
hxxps://soundcloud.com/XXX/XXX
Exclude (Ignore)
hxxps://soundcloud.com/XXX
Edited 1 time(s). Last edit at 2018-06-04 18:44 by maki.
Posted by: pspad | Date: 2018-06-05 06:06 | IP: IP Logged
Do you mean something like this?
(http|https):\/\/[\w\-_]+(\.[\w]+)\/([\w\-]+)+\/([\w\-])+
Posted by: maki | Date: 2018-06-05 08:19 | IP: IP Logged
Error:
---------------------------
---------------------------
The complexity of matching the regular expression exceeded predefined bounds. Try refactoring the regular expression to make each choice made by the state machine unambiguous. This exception is thrown to prevent "eternal" matches that take an indefinite period time to locate.
---------------------------
OK
---------------------------
Include:
hxxps://soundcloud.com/XXX/XXX
Exclude (Ignore)
hxxps://soundcloud.com/XXX
XXX- ANY CHARACTER
Edited 3 time(s). Last edit at 2018-06-05 08:24 by maki.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR