Swift Regex: How to find all first letter capitalized words in a string? Like a name ("My Name and another His Name")?
GOAL: I want to have a regex that searches a string for all capitalized first letters of words/names in a string. Then replace those capitalized words with "Whatever", if the word is 4 or more characters long. String Input: let myString = "This is a regular string. How does this Work? Does any Name know… Read More Swift Regex: How to find all first letter capitalized words in a string? Like a name ("My Name and another His Name")?