Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-07-21 09:35
Flavor·JavaScript

/
([ 0-9]*[0-9]+(?:\.|,)?[0-9]*)[ ]*(.*)
/
Open regex in editor

Description

match int or float number, and following word (unit for example)

Submitted by Etienne Goumet