missing elements and inconsistent spacing
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
dona168lee
5 - Atom
‎02-19-2025
01:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I'm working with data extracted from PDFs and using regex to format it into columns. I'm struggling with missing elements and inconsistent spacing that throw off my column alignment. Any suggestions for a more robust regex approach to handle these variations?
Does anyone help in this
Labels:
- Labels:
- Designer Cloud
2 REPLIES 2
martinson
11 - Bolide
‎02-19-2025
02:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, @dona168lee would using the data cleansing tool to remove duplicate whitespace be of help? Could you share some data that would better help me understand the problem?
Cheers
martinson
18 - Pollux
‎02-19-2025
05:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can make your RegEx robust enough to understand spacing and when values should exist or not. But without data like @martinson indicated we'd just be guessing
