Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-08-19 10:15
Flavor·PCRE (Legacy)

/
([1-9]+) of ([0-9]+)
/
Open regex in editor

Description

If you have a sentence in a log file like "2 of 4 pictures converted successfully" and you need to know the numbers you can use this regex and use the group variable.

Submitted by Kai