Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    \$\begingroup\$ 70 bytes; it's a shame that "\\W+" wouldn't work since it includes _ \$\endgroup\$ Commented Aug 10, 2020 at 17:06
  • 1
    \$\begingroup\$ actually, is the 0-9 needed since a word consists only of [a-zA-Z]+? \$\endgroup\$ Commented Aug 10, 2020 at 17:18
  • \$\begingroup\$ 1) Thanks! I obviously need a bit of practice at regexes! \$\endgroup\$ Commented Aug 10, 2020 at 17:29
  • 1
    \$\begingroup\$ 2) Not any more. The question originally specified 'alphanumeric', but I notice that it's now been edited to 'alphabetic' so you're right. \$\endgroup\$ Commented Aug 10, 2020 at 17:29