You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can we use Regular Expressions for answer keywords or aliases?

Received Response
14
Views
1
Comments
edited Sep 29, 2016 4:34PM in Knowledge Management 1 comment

Content

I need to make a specific answer show up in the search results if the search term is a 5 character alphanumeric string. I came up with this regex to match the string, but I'm not sure how to implement it. I added it as a keyword to my answer but it gets treated like a string.

Here's my regex:

/^[a-zA-Z0-9]{5}$/g

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!