Regular Expressions 101

Library entries

Splits jquery selector, 2nd part is selector of last element

Vote

0

Regular Expression
javascript

/
(.*?)([^\s](?:[^\s\'\"\[\(]+(?:\'[^\']*\'|\[[^\]]*\]|\"[^\"]*\"|\([^\)]*\))*)*)$
/

Description

Loading markdown...
Submitted by Uzair Farooq - 8 years ago