On Sep 28, 2011, at 13:55, MikeC wrote:
> I wish to search for a 7 character numeric string which has a space before
> and after the string.
> Such as " 7654321 "
>
> I want to find strings with no more or less than 7 numeric characters.
______________________________________________________________________
Hey Mike,
JD and JB have already weighed-in on the more typical method, but there are
several ways to skin that cat.
' \d{7} ' # quotes only for clarity
( )\d{7}\1
( {1})\d{7}\1
( {1})[[:digit:]]{7}\1
--
Best Regards,
Chris
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>