SOLVED
REGEX: Extract Alphabetical Characters and Numbers
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
Paddi
8 - Asteroid
‎10-12-2023
02:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi team,
I need to see if the record only contains Alphabetical Characters and Numbers, currently it can only detect Alphabetical Characters, how should I change the regular expression, so that it contains Alphabetical Characters and Numbers.
Now: [a-zA-Z]+
To-be: ???
Thank you.
Solved! Go to Solution.
Labels:
- Labels:
- Regex
2 REPLIES 2
17 - Castor
‎10-12-2023
02:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @Paddi, in the same way that you have A-Z, you just need to add 0-9 to check for numbers so it'd be:
[a-zA-Z0-9]+
‎10-12-2023
02:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@DataNath Thank you, it works!
