Regex: Difference between revisions
From DWIKI
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
*https://regex101.com/ | *https://regex101.com/ | ||
=Syntax= | |||
==(?:)== | |||
Non-capturing group, so creating a back-reference | |||
=Tools= | =Tools= | ||
Line 15: | Line 19: | ||
==pcre== | ==pcre== | ||
*[http://www.pcre.org/ pcre] | *[http://www.pcre.org/ pcre] | ||
=FAQ= | |||
==Match IP address== | |||
'\d{1,3}[-x.]\d{1,3}[-x.]\d{1,3}' |
Latest revision as of 13:08, 29 January 2024
Regular expressions
Links
- Regex reference
- http://gnosis.cx/publish/programming/regular_expressions.html
- http://www.zytrax.com/tech/web/regex.htm
- http://www.regular-expressions.info
- https://regex101.com/
Syntax
(?:)
Non-capturing group, so creating a back-reference
Tools
- txt2regex
ZZ
pcre
FAQ
Match IP address
'\d{1,3}[-x.]\d{1,3}[-x.]\d{1,3}'