--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/BD13333E-702B-45C4-817D-1C7A41F2DB40%40faiman.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAKi-cftg1Tjh%2BVjYj6vkPx%3DNAxZFzSov3-SnO84jF7zeqLgTgw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAJ2R9pjxtHLNBoAy_ba8MtkhTSRuvSt3ADmzY5c%2BCmapku4-Eg%40mail.gmail.com.
\d{3,5}
Voila :]
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAKi-cfvF2me%3DLGkLdyA0Jh52_drNZW8j5Bnqf9Jr1Wh_MPZ1kg%40mail.gmail.com.
This is a regular expression pattern that matches any sequence of digits that is at least 3 digits long and no more than 5 digits long. Here's a breakdown of what each component of the pattern means:
So, this pattern would match any sequence of 3, 4, or 5 consecutive digits. For example, it would match "123", "4567", or "89012", but it would not match "12" or "123456”.
On Apr 21, 2023, at 3:24 PM, Tom Robinson <barefo...@gmail.com> wrote:\d{3,5}