Regex: Difference between revisions
From DWIKI
m (Match IP address) |
mNo edit summary |
||
Line 8: | Line 8: | ||
*https://regex101.com/ | *https://regex101.com/ | ||
=Syntax= | |||
==(?:)== | |||
Non-capturing group, so creating a back-reference | |||
=Tools= | =Tools= |
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}'