Regular Expressions 101

Feet to inches converter

Open Workspace
  • PCRE2 (PHP)
  • Match
0

Regular Expression

/
([0-9]+)(?:')
/
gm

Description

This only works in Google sheets. The test string is a sheets formula that converts feet inches in this<6' 6"> into the total number of inches.

Submitted by randywolf244