SOLVED
Split Column
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Jaspal80
7 - Meteor
‎02-28-2023
05:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have a table which has a column with below sample data
Name (xx)(As-of YYYYMMDD, Date YYYYMMDD, Date YYYYDDDD) |
Name (As-of YYYYMMDD, Date YYYYMMDD, Date YYYYDDDD) |
I want to split the above column into two column one with > (As-of YYYYMMDD, Date YYYYMMDD, Date YYYYDDDD)
and other with the first part > Name (xx)
How can I do this?
Solved! Go to Solution.
Labels:
- Labels:
- Help
3 REPLIES 3
ShankerV
17 - Castor
‎02-28-2023
05:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎02-28-2023
05:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This works - can you explain what the (.+)(\(As.+) means and where can i learn this?
Thank you
ShankerV
17 - Castor
‎02-28-2023
05:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Jaspal80
(.+)(\(As.+)
Each () represents new column.
(.+)
. denotes any character
+ denotes any number of characters
(\(As.+)
Then looking for next ( where we need to prefix \ before.
Then I am looking for specific word As and .+
Hope this help!!!
You can learn in many ways. Out of which few are below.
1. Click the +
2. Regex101.com also will help.
Many thanks
Shanker V
