Need help with RegEx
-
Hi, everyone. I need help on how I can search for message if it includes more than X characters in total.
For example: I want to search a username, let’s say “Smudge”. There are characters before Smudge and I do not want them to be included so I’ll be typing “Smudge.*”. But how can I make this so it only shows results if there are X or more characters coming after the username Smudge?
Thank you!! -
See the User Manual > Searching > Regular Expressions > Multiplying Operators for all the details on how to set quantities.
You will want
Smudge.{X,}whereXis whatever number you want, and the comma is needed to say “or more”. -
@PeterJones thank you so much for the help!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login