Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
([\-]*BEGIN\sCERTIFICATE\sREQUEST[\-]+.+[-]+END\sCERTIFICATE\sREQUEST[-]+)
/
gmysi

Description

extract csr from response returned by https://csrgenerator.com/

Submitted by anonymous - 4 years ago