Quantcast
Channel: Regex for matching data between parenthesis BUT with a pattern to match inside - Stack Overflow
Browsing index pages (2 articles)

Regex for matching data between parenthesis BUT with a pattern to match inside

I saw many examples of how to get data between parenthesis with regex for python but none with some pattern inside.For example, I have this data:Overall (each): 37 1/4 × 74 1/2 × 7 7/8 in. (94.6 ×...

View Article


Answer by Ryszard Czech for Regex for matching data between parenthesis BUT...

Use\(([^()]*\bcm\b[^()]*)\)See proofExplanation-------------------------------------------------------------------------------- \(...

View Article

Browsing index pages (2 articles)


Latest Images