Vec84
8 years agoContributor
Regular Expressions
Hello, I have a header bar with a caption property that contains words and numbers. I want to extract the a 10 digit number from the caption string. I've read through the documentation however I...
- 8 years ago
MYCAPTION.match(/\d{10}/)[0]
extracts a 10-digit number from the variable MYCAPTION.