Hi Alteryx family,
I need some help with a simple regex (or any) solution that splits a column in two based on the first occurence of a number in string.
Thanks, EJ
Solved! Go to Solution.
@EJ_Alt
Something like this?
Hi @EJ_Alt
Please use this syntax.
(.*)\s(\d+\s[A-Za-z]{3}\s\d{4})
If the date is single digit, it will be work.
Hi @EJ_Alt
Here is my take on it.
Regex
(.*)\s(\d.{9,10})
Output:
Hope this helps 🙂 Feel to ask if you have any questions
Thanks @Qiu . This works well
Thanks @AkimasaKajitani . Perfect, my workflow sometimes has single digits.
Thanks @atcodedog05 . Also like your solution. Proves Regex is highly flexible.
Hi @EJ_Alt
You are allowed to mark multiple solution. So feel free to mark all the posts which is helpful as solution.
Happy to help🙂
Happy to help 🙂 @EJ_Alt
Cheers and Happy Analyzing 😀
Feel free to reach out if you face any issues 🙂