Tuesday, September 27, 2016

Google Docs now supports regular expressions, only on web for now

googledocs-regex

Regular expressions are common in the programming world as a way of finding (and filtering) text based on patterns. regexes can range from extremely simple, such as the example above for finding whitespaces, to longer expressions for more general inputs. If you are one of the wizards who can actually comprehend phrases like (?<=^|(?<=[^a-zA-Z0-9-_\.]))@([A-Za-z]+[A-Za-z0-9]+) (a regex for identifying Twitter usernames), then Google Docs' latest feature is just for you.

Starting today on Google Docs on the web, although not yet on mobile, regex expressions are supported in the Find and Replace dialog. You can use regexes in both the Find and Replace with fields, and as long as they match RE2 syntax, they should work.

Read More

Google Docs now supports regular expressions, only on web for now was written by the awesome team at Android Police.



from Android Police – Android News, Apps, Games, Phones, Tablets http://ift.tt/2dAqRlr
via IFTTT

No comments:

Post a Comment