Regular Expressions 101

Library entries

Pull text-align value from HTML markup

Vote

0

Regular Expression
javascript

/
style=\"\s?.*?text-align:\s?(.*?);?\"|style=\'\s?.*?text-align:\s?(.*?);?\'
/
gi

Description

Loading markdown...
Submitted by anonymous - 3 years ago