Consider the following string:
A = "6666666666666666666666666666611111122222221222222222222222222233361222222222233232336611116111112212211666666666666666666666666666666666111111111121122221222122122222222222222222222222222112222122222222222222222222222222333333332112661222122222222222222222222222222222222222222222222555555555555555555555555555555555555555555555522222222222222222222122222222222333261222222222222222222223333331222222222222222222222222222222222222222222222222222222222222222222222222222222222622222222222222222222222222222233333312222222222612222222222222122255555555555555555555555555555555555555555555555555555555522222222222222222222223332122233222333333333333333333333333333333611112222211222222222222222222222222222222212222222222222212221111225555555555555555555555555555551222222222222222222212221121122212222222222222222222222222221222222222222222555555555555555155555555555155555555555555555555555555555555555555111111222222222212222222222222222222222222222222222122221222222222222222222222221212222222222222225555555555555555555555555511555555555222222222222212222222212222222222222222222222222266"
In Julia, I want to remove from it all occurrences of repeated 6
s with length <10. Thus, for example, the initial chain of sixes should remain, but individiaul (length=1) sixes should disappear.
The regex φ = Regex("^[6]{10}")
matches any pattern of repeated sixes of length equal or greater to ten, but I can’t find anywhere how to make it lesser than 10. Please excuse if this is a silly question.