[英]Regular Expressions: count the number of numeric characters between two specific characters in a string in google sheets
您可以使用正則表達式"-.*?(\d*).*?,"
通過REGEXTRACT(A2, "-.*?(\d*).*?,")
獲取數字,然后使用LEN
得到長度:
=LEN(REGEXTRACT(A2, "-.*?(\d*).*?,"))
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.