Regular Expressions 101

Save & Share

  • Regex Version: ver. 1
  • Update Regex
    ctrl+⇧+s
  • Save new Regex
    ctrl+s
  • Add to Community Library

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
gm

Test String

Code Generator

Generated Code

$re = '/<a.+?href="(?<href>.*?)".*?>.*?<\/a>/m'; $str = '<a href="fff">bar</a> <a href="fff" required>bar</a> <feed xml:lang="en"> <id>https://cheatsheetseries.owasp.org/</id> <title>OWASP Cheat Sheet Series update</title> <updated>2021-01-07T13:50:35+00:00</updated> <author> <name>Core team</name> <email>dominique.righetto@owasp.org</email> </author> <link href="https://cheatsheetseries.owasp.org" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries" rel="alternate"/> <generator uri="https://lkiesow.github.io/python-feedgen" version="0.9.0">python-feedgen</generator> <icon> https://cheatsheetseries.owasp.org/gitbook/images/favicon.ico </icon> <subtitle>List of the last updates on the content</subtitle> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/379</id> <title>Fix contributing links</title> <updated>2020-03-30T20:30:31+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/379" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/379" rel="alternate"/> <contributor> <name>mackowski</name> <uri>https://github.com/mackowski</uri> </contributor> <published>2020-03-30T20:30:31+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/381</id> <title>add OWASP Threat Dragon and expand on MS TMT</title> <updated>2020-04-02T19:15:31+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/381" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/381" rel="alternate"/> <contributor> <name>jgadsden</name> <uri>https://github.com/jgadsden</uri> </contributor> <published>2020-04-02T19:15:31+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/382</id> <title>Point to the correct Angular docs</title> <updated>2020-04-02T18:31:35+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/382" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/382" rel="alternate"/> <published>2020-04-02T18:31:35+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/384</id> <title>Fixing links on CSRF prevention cheat sheet</title> <updated>2020-04-15T18:30:39+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/384" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/384" rel="alternate"/> <published>2020-04-15T18:30:39+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/387</id> <title>Migration to mkdocs</title> <updated>2020-05-31T13:41:29+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/387" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/387" rel="alternate"/> <published>2020-05-31T13:41:29+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/388</id> <title>Chore/update lint config</title> <updated>2020-05-23T19:52:09+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/388" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/388" rel="alternate"/> <published>2020-05-23T19:52:09+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/391</id> <title> Clarify maximum password length guidelines in authentication CS. Fixe… </title> <updated>2020-05-21T06:55:14+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/391" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/391" rel="alternate"/> <contributor> <name>rbsec</name> <uri>https://github.com/rbsec</uri> </contributor> <published>2020-05-21T06:55:14+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/392</id> <title>OS Command Injection - Grammar/Typo Fixes</title> <updated>2020-05-16T17:12:26+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/392" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/392" rel="alternate"/> <published>2020-05-16T17:12:26+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/396</id> <title> chore: 4 spaces tabs</title> <updated>2020-05-27T19:20:17+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/396" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/396" rel="alternate"/> <contributor> <name>ThunderSon</name> <uri>https://github.com/ThunderSon</uri> </contributor> <published>2020-05-27T19:20:17+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/397</id> <title>chore: lint Indexes and Preface</title> <updated>2020-05-27T19:40:33+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/397" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/397" rel="alternate"/> <published>2020-05-27T19:40:33+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/398</id> <title>Typo fix in SSRF Cheat Sheet</title> <updated>2020-05-31T14:10:03+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/398" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/398" rel="alternate"/> <published>2020-05-31T14:10:03+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/399</id> <title>Fix typo in NodeJS Cheat Sheet</title> <updated>2020-06-01T19:10:18+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/399" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/399" rel="alternate"/> <published>2020-06-01T19:10:18+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/401</id> <title>Add outline for Authorization Cheat Sheet</title> <updated>2020-06-08T10:12:55+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/401" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/401" rel="alternate"/> <published>2020-06-08T10:12:55+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/402</id> <title> Improve the inclusivity of the language in Access_Control_Cheat_Sheet.md </title> <updated>2020-06-02T12:33:34+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/402" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/402" rel="alternate"/> <published>2020-06-02T12:33:34+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/403</id> <title>Chore: Broken Links</title> <updated>2020-06-03T21:16:51+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/403" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/403" rel="alternate"/> <published>2020-06-03T21:16:51+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/404</id> <title>Feat/update threatmodeling cs</title> <updated>2020-06-18T11:41:04+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/404" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/404" rel="alternate"/> <contributor> <name>ThunderSon</name> <uri>https://github.com/ThunderSon</uri> </contributor> <published>2020-06-18T11:41:04+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/405</id> <title>Remove table of contents</title> <updated>2020-06-03T21:32:56+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/405" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/405" rel="alternate"/> <published>2020-06-03T21:32:56+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/407</id> <title>Removed typo space causing rendering problems</title> <updated>2020-06-05T07:17:48+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/407" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/407" rel="alternate"/> <published>2020-06-05T07:17:48+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/408</id> <title>Remove Whitespace Characters Before CodeBlocks</title> <updated>2020-06-05T12:43:09+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/408" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/408" rel="alternate"/> <published>2020-06-05T12:43:09+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/409</id> <title> Remove a few trailing commas from the function table </title> <updated>2020-06-06T14:38:01+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/409" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/409" rel="alternate"/> <published>2020-06-06T14:38:01+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/410</id> <title>Forgot Password CS Rewrite</title> <updated>2020-06-22T05:57:39+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/410" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/410" rel="alternate"/> <contributor> <name>ThunderSon</name> <uri>https://github.com/ThunderSon</uri> </contributor> <published>2020-06-22T05:57:39+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/411</id> <title>Fix up formating in CSP CS</title> <updated>2020-06-06T18:56:42+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/411" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/411" rel="alternate"/> <published>2020-06-06T18:56:42+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/414</id> <title>Correct terms spelling Github -> GitHub</title> <updated>2020-06-07T09:09:26+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/414" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/414" rel="alternate"/> <published>2020-06-07T09:09:26+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/415</id> <title>Fix markdown style to pass CI</title> <updated>2020-06-07T09:08:37+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/415" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/415" rel="alternate"/> <published>2020-06-07T09:08:37+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/416</id> <title>MD040 Code-Fencing Disabled</title> <updated>2020-06-07T09:23:56+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/416" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/416" rel="alternate"/> <published>2020-06-07T09:23:56+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/418</id> <title>Update XML CS with Python 2 EOL</title> <updated>2020-06-07T13:12:28+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/418" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/418" rel="alternate"/> <published>2020-06-07T13:12:28+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/419</id> <title>[chore] Fix typos</title> <updated>2020-06-13T20:55:30+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/419" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/419" rel="alternate"/> <published>2020-06-13T20:55:30+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/422</id> <title> Grammar update in the Access_Control_Cheat_Sheet.md cheatsheet. </title> <updated>2020-06-16T08:14:41+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/422" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/422" rel="alternate"/> <published>2020-06-16T08:14:41+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/426</id> <title>Grammar update in Docker_Security_Cheat_Sheet</title> <updated>2020-06-17T06:50:51+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/426" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/426" rel="alternate"/> <published>2020-06-17T06:50:51+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/428</id> <title>Add textlint and its config</title> <updated>2020-07-14T12:59:05+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/428" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/428" rel="alternate"/> <published>2020-07-14T12:59:05+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/429</id> <title> Update contributation guidelines as the ToC is not longer needed </title> <updated>2020-06-21T12:55:13+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/429" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/429" rel="alternate"/> <published>2020-06-21T12:55:13+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/430</id> <title>NodeJS Backticks HTML elements</title> <updated>2020-06-22T09:03:28+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/430" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/430" rel="alternate"/> <published>2020-06-22T09:03:28+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/431</id> <title>Updated grammar in web service security cheatsheet</title> <updated>2020-06-22T19:18:30+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/431" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/431" rel="alternate"/> <published>2020-06-22T19:18:30+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/432</id> <title>Update link in XXE CS</title> <updated>2020-06-22T20:55:12+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/432" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/432" rel="alternate"/> <published>2020-06-22T20:55:12+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/433</id> <title>README Rewrite</title> <updated>2020-06-25T20:11:52+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/433" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/433" rel="alternate"/> <published>2020-06-25T20:11:52+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/434</id> <title>New CS: GraphQL</title> <updated>2020-10-30T14:23:28+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/434" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/434" rel="alternate"/> <published>2020-10-30T14:23:28+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/436</id> <title> Add recommendation to disable xp_dirtree and CLR execution </title> <updated>2020-07-06T16:05:52+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/436" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/436" rel="alternate"/> <published>2020-07-06T16:05:52+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/437</id> <title>Fix typo</title> <updated>2020-07-17T14:51:33+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/437" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/437" rel="alternate"/> <published>2020-07-17T14:51:33+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/439</id> <title>Fix link: Pre-Hashing Passwords</title> <updated>2020-07-04T10:00:54+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/439" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/439" rel="alternate"/> <published>2020-07-04T10:00:54+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/444</id> <title>Update cookie prefix compatibility. Fixes #443</title> <updated>2020-07-15T10:35:05+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/444" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/444" rel="alternate"/> <published>2020-07-15T10:35:05+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/446</id> <title> Replace hash with HMAC and clarify language. Fixes #442 </title> <updated>2020-07-18T21:48:13+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/446" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/446" rel="alternate"/> <published>2020-07-18T21:48:13+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/447</id> <title> Update recommendation for public key pinning. Fixes #441 </title> <updated>2020-07-23T09:57:22+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/447" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/447" rel="alternate"/> <published>2020-07-23T09:57:22+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/449</id> <title> Issue #438 - Improve XSS cheatsheet to address escape/encode confusion </title> <updated>2020-07-23T07:05:40+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/449" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/449" rel="alternate"/> <published>2020-07-23T07:05:40+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/452</id> <title>Remove rbsec from project team</title> <updated>2020-07-28T16:49:14+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/452" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/452" rel="alternate"/> <published>2020-07-28T16:49:14+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/453</id> <title>Update REST_Security_Cheat_Sheet.md</title> <updated>2020-07-30T15:25:18+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/453" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/453" rel="alternate"/> <contributor> <name>mackowski</name> <uri>https://github.com/mackowski</uri> </contributor> <published>2020-07-30T15:25:18+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/456</id> <title> Changes to CODEOWNERS and update linter fixed for C-hardening </title> <updated>2020-07-30T16:12:04+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/456" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/456" rel="alternate"/> <contributor> <name>mackowski</name> <uri>https://github.com/mackowski</uri> </contributor> <published>2020-07-30T16:12:04+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/458</id> <title>Updated Session_Management_Cheat_Sheet.md</title> <updated>2020-07-30T18:28:58+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/458" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/458" rel="alternate"/> <published>2020-07-30T18:28:58+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/459</id> <title>Using the Oracle XML Parser Safely</title> <updated>2020-08-05T06:16:00+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/459" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/459" rel="alternate"/> <contributor> <name>mackowski</name> <uri>https://github.com/mackowski</uri> </contributor> <published>2020-08-05T06:16:00+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/460</id> <title> Update explanations around pre-hashing passwords. Fixes #450 </title> <updated>2020-08-05T06:16:49+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/460" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/460" rel="alternate"/> <contributor> <name>mackowski</name> <uri>https://github.com/mackowski</uri> </contributor> <published>2020-08-05T06:16:49+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/462</id> <title>Adding Semgrep Rules for SSRF in Java</title> <updated>2020-09-07T08:32:57+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/462" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/462" rel="alternate"/> <published>2020-09-07T08:32:57+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/463</id> <title>Fix typos plus markdown in CSRF cheatsheet</title> <updated>2020-08-06T06:26:09+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/463" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/463" rel="alternate"/> <published>2020-08-06T06:26:09+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/466</id> <title>Remove link to article to address HPKP</title> <updated>2020-08-07T06:35:14+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/466" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/466" rel="alternate"/> <published>2020-08-07T06:35:14+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/468</id> <title>added hints for using both features together</title> <updated>2020-08-12T16:37:29+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/468" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/468" rel="alternate"/> <published>2020-08-12T16:37:29+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/470</id> <title> New CS proposal: Kubernetes Security Cheatsheet #465 </title> <updated>2020-09-01T14:52:53+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/470" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/470" rel="alternate"/> <published>2020-09-01T14:52:53+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/475</id> <title> [Session management] Add common session absolute timeouts </title> <updated>2020-08-31T09:31:18+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/475" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/475" rel="alternate"/> <published>2020-08-31T09:31:18+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/478</id> <title>Update Authorization CS draft</title> <updated>2020-09-17T02:06:22+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/478" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/478" rel="alternate"/> <published>2020-09-17T02:06:22+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/480</id> <title>Fix deadlinks</title> <updated>2020-09-07T08:24:49+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/480" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/480" rel="alternate"/> <published>2020-09-07T08:24:49+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/481</id> <title> Web Services Security: Add "Resources Limiting" sub-section under "Availability" </title> <updated>2020-09-14T11:46:37+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/481" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/481" rel="alternate"/> <published>2020-09-14T11:46:37+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/484</id> <title> TLS_CIPHER_STRING_CHEAT_SHEET Fixed inconsistencies </title> <updated>2020-09-10T14:11:21+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/484" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/484" rel="alternate"/> <published>2020-09-10T14:11:21+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/485</id> <title>XXE Semgrep Rules</title> <updated>2020-09-17T02:05:33+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/485" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/485" rel="alternate"/> <published>2020-09-17T02:05:33+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/487</id> <title>Fix wrong word choice, account -> attack</title> <updated>2020-09-16T10:30:30+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/487" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/487" rel="alternate"/> <published>2020-09-16T10:30:30+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/489</id> <title> Remove potentially misleading advice re JAXB on OpenJDK 1.8 </title> <updated>2020-09-17T02:03:42+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/489" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/489" rel="alternate"/> <published>2020-09-17T02:03:42+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/491</id> <title>New CS Microservice security</title> <updated>2020-10-13T07:20:55+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/491" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/491" rel="alternate"/> <published>2020-10-13T07:20:55+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/493</id> <title> Make introductory section of threat modeling CS clearer </title> <updated>2020-10-01T02:09:26+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/493" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/493" rel="alternate"/> <published>2020-10-01T02:09:26+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/495</id> <title>Authorization Cheat Sheet</title> <updated>2020-10-28T09:44:51+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/495" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/495" rel="alternate"/> <published>2020-10-28T09:44:51+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/496</id> <title>Update K8s Security CS with Service mesh & OPA</title> <updated>2020-11-09T09:30:59+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/496" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/496" rel="alternate"/> <published>2020-11-09T09:30:59+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/497</id> <title>Fix (typo): Fixes #477</title> <updated>2020-10-13T07:16:25+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/497" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/497" rel="alternate"/> <published>2020-10-13T07:16:25+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/499</id> <title>Update Password_Storage_Cheat_Sheet.md</title> <updated>2020-10-12T21:31:49+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/499" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/499" rel="alternate"/> <published>2020-10-12T21:31:49+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/500</id> <title>Session Management: Fix slashes after an origin</title> <updated>2020-10-13T07:15:36+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/500" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/500" rel="alternate"/> <published>2020-10-13T07:15:36+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/502</id> <title> Fix of the bug that prevents us to update new offline site </title> <updated>2020-10-27T17:23:24+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/502" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/502" rel="alternate"/> <published>2020-10-27T17:23:24+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/503</id> <title> Adding a referene for default CSRF protection in Angular JS </title> <updated>2020-10-28T09:36:19+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/503" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/503" rel="alternate"/> <published>2020-10-28T09:36:19+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/505</id> <title>Update Docker_Security_Cheat_Sheet.md</title> <updated>2020-11-09T09:33:43+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/505" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/505" rel="alternate"/> <published>2020-11-09T09:33:43+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/506</id> <title>Minor fix in crypto storage CS</title> <updated>2020-10-27T17:11:32+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/506" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/506" rel="alternate"/> <published>2020-10-27T17:11:32+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/507</id> <title>chore: spelling errors</title> <updated>2021-01-04T09:25:37+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/507" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/507" rel="alternate"/> <published>2021-01-04T09:25:37+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/509</id> <title>Add notable tls checkers</title> <updated>2020-10-27T17:14:16+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/509" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/509" rel="alternate"/> <published>2020-10-27T17:14:16+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/510</id> <title>Update Session_Management_Cheat_Sheet.md</title> <updated>2020-10-27T17:17:01+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/510" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/510" rel="alternate"/> <published>2020-10-27T17:17:01+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/511</id> <title>Fix typo in CSRF prevention cheat sheet</title> <updated>2020-10-29T08:57:31+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/511" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/511" rel="alternate"/> <published>2020-10-29T08:57:31+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/512</id> <title>Minor title and filename typo</title> <updated>2020-11-09T09:23:25+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/512" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/512" rel="alternate"/> <published>2020-11-09T09:23:25+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/513</id> <title>Update Error_Handling_Cheat_Sheet.md issue #285</title> <updated>2020-11-09T09:22:20+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/513" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/513" rel="alternate"/> <published>2020-11-09T09:22:20+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/516</id> <title>XSS: remove forward slash</title> <updated>2020-11-09T08:45:33+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/516" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/516" rel="alternate"/> <published>2020-11-09T08:45:33+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/518</id> <title>Office 365 now supports sub-addressing</title> <updated>2020-11-16T12:11:01+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/518" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/518" rel="alternate"/> <published>2020-11-16T12:11:01+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/519</id> <title>Updated SameSite support stats</title> <updated>2020-11-25T12:26:59+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/519" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/519" rel="alternate"/> <published>2020-11-25T12:26:59+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/522</id> <title>Update HIBP link to latest (v3) version of API</title> <updated>2021-01-04T09:25:11+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/522" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/522" rel="alternate"/> <published>2021-01-04T09:25:11+00:00</published> </entry> <entry> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/524</id> <title>Extend Web Storage</title> <updated>2021-01-04T09:32:47+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/524" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/524" rel="alternate"/> <published>2021-01-04T09:32:47+00:00</published> </entry> <entry> <id>https://github.com/OWASP/CheatSheetSeries/pull/525</id> <title> Moved the Kubernetes security cheatsheet to cheatsheets folder </title> <updated>2021-01-07T13:49:19+00:00</updated> <link href="https://github.com/OWASP/CheatSheetSeries/pull/525" rel="self"/> <link href="https://github.com/OWASP/CheatSheetSeries/pull/525" rel="alternate"/> <published>2021-01-07T13:49:19+00:00</published> </entry> </feed>'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result var_dump($matches);

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php