Regex: Difference between revisions

From DWIKI
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
*http://www.zytrax.com/tech/web/regex.htm
*http://www.zytrax.com/tech/web/regex.htm
*http://www.regular-expressions.info
*http://www.regular-expressions.info
*https://regex101.com/
=Syntax=
==(?:)==
Non-capturing group, so creating a back-reference
=Tools=
*txt2regex
ZZ
==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


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}'