- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 06:39 AM
Hi All,
I am using regex to get a aphanumeric or numer from a string . I am using regex
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 06:59 AM
Hello @kali ,
Refer this to get any relatable info:
https://www.servicenow.com/community/developer-forum/can-i-validate-a-string-with-only-alphanumeric-...
Or check below image and refer if useful:
Thank you!!
Dnyaneshwaree Satpute
Tera Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 07:06 AM
Hi @kali,
Can you provide an example of the string prior to extraction and then the results. For example, if you're trying to extract the parameters frmo a URL which contains / chars etc.
IT will help provide and test the solutions.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 06:15 AM
Hi @kali
Please use this-
/\b[a-zA-Z0-9]+\b/g
Please mark my answer helpful and correct.
Regards,
Amit