BookmarkSubscribeRSS Feed
nikunjgattani
Obsidian | Level 7

Hi All,

 

Below is the solution I got from a person in linkedin -

 

data youdata;
infile cards truncover;
input Column_Test $ 200.;
cards;
I have a string column named Column_Test which cotains text up to 200 characters
I have a string column named Column_Test which cotains text up to 2000000 as
I have a string column named Column_Test which cotains text up to 200 dfgt
I have a string column named Column_Test which cotains text up to 200 dfgty
;
run;


data mistyping;
length id 8. ;
set youdata;
id = _N_;
keep id;
if prxmatch('/[^aeiouAEIOU\s]{5,}/', Column_Test);
run;

 

Thank You all for trying to solve my problem.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 15 replies
  • 3796 views
  • 2 likes
  • 7 in conversation