Regular Expressions 101

Library entries

PEM Key File Headers

Vote

0

Regular Expression
javascript

/
^----[- ](?:BEGIN|END) (?:([A-Z][A-Z0-9]+) )?(PRIVATE|PUBLIC) KEY[ -]----$
/
mg

Description

Loading markdown...
Submitted by clarkttfu - 3 months ago