Regular Expressions 101

Community Patterns

German Bible veses

0

Regular Expression
ECMAScript (JavaScript)

/
(?<book>(?:\d\.?\s*)?[\w\u00E4\u00F6\u00FC\u00C4\u00D6\u00DC\u00df]+)\s+(?<chapter>\d+)[,|:]{1}[\s]?(?<verses>(?:\d+[a-z]?[\.|-]?)+)
/
usg

Description

A regex that captures the common Bible books, chapter, and verses for the German language.

Submitted by Sergio Santos - 2 years ago (Last modified 2 years ago)