Body painting - How to find a two-letter word?.jpg

The answer is Using Regular Expressions. For example in ActionScript 3.0 it would be: var pattern:RegExp = /\b(.)(.)\b/g; var target:String = "God should have put womens eyeballs in their boobs"; trace("RESULT", target.match(pattern)); // RESULT in In RegExp: \b - word boundaries . - any character Target string by <a href="http://www.bash.org/?49429" rel="nofollow">www.bash.org/?49429</a>
Artist: Exey Panteleev. License: CC BY 2.0. Source
Save this to a board · free account