Regular Expressions 101

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

/
.*[a-z\-0-9]+\-([0-9]+).*
/

Description
Created·2015-06-04 18:35
Type·Match
Flavor·JavaScript

Used to get a value from a class e.g.: [...] class="font-12"[...] This regEx will receive "12" given the content of the class

Submitted by Gabriel R. Sezefredo
Open Workspace