I want to change the Names of individuals:
,Patrick L.
, A. Miles
into:
Patrick
Miles
To clarify im trying to use Regex_Replace()
This will fit nicely to my existing formula to extract the last names.
Hey @rickydata,
Here is one way of doing this:
[[:alpha:]]{1}\.
The first pattern captures 1 letter next to a dot.
[,\s]+
The second pattern captures any , or spaces.
If you want to learn more about Regex the community has some really quick interactive videos on getting to grips with it here https://community.alteryx.com/t5/Interactive-Lessons/tkb-p/interactive-lessons/label-name/Parsing%20...
Any questions or issues please ask
Ira Watt
Technical Consultant
Watt@Bulien.com
Find attached the way of doing that with regex_replace function.
Let me know if there is any issue and do not hesitate to mark this answer as solution if it helped.
User | Count |
---|---|
19 | |
14 | |
13 | |
9 | |
8 |