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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I'm trying to implement a regexp for ports WWN user input field.
I know that '\w{16}' works for a single WWN, what would be a regexp for the following:
WWN or WWN,WWN or WWN,WWN,WWN or WWN,WWN,WWN,WWN
ie the user input field can be ether 1 or not more than 4 WWN's separated by comma.
Thanks,
Vladimir
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Vladimir,
You can use the following regular expression :
\w{16}(,\w{16}){0,3}
Regards,
Oz
2 REPLIES 2
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Vladimir,
You can use the following regular expression :
\w{16}(,\w{16}){0,3}
Regards,
Oz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awesome Oz, thanks, it works!
