2016-08-10 8:19 GMT+02:00 John Mark Vandenberg <jayvdb@gmail.com>:
Does this one suit your purposes:

([αβγδφωλμπ]-)?([([]*[A-Z☐][ub]?[a-z]?[₁₂₃₄₅₆₇₈₉₀]*(\)?[¹²³⁴⁵⁶⁷⁸⁹⁰]*[⁺⁻]?)?[])|,₁₂₃₄₅₆₇₈₉₀]*(·\(?[-0-9.]*n?\)?)?)+

https://www.wikidata.org/wiki/Property:P274

This should be another kind of chemical formulae, but I will test it. What is ☐?
I never knew that WD stored regexes, but I like it.


--
Bináris