Board index
Members
FAQ
Register
Login
Board index
‹
Hazel
‹
Support
Print view
Can I match an optional unknown character?
Get help. Get answers. Let others lend you a hand.
Moderator:
Mr_Noodle
Post a reply
2 posts • Page
1
of
1
Can I match an optional unknown character?
Wed Nov 07, 2018 2:27 pm
• by
martinewski
Is it possible to match a filename containing an optional list of characters?
In a regex for an underscore followed by one or more of three characters it would be something along:
Code:
Select all
_([%$#])*
martinewski
Posts:
30
Joined:
Sat Jun 29, 2013 6:41 pm
Reply with quote
Re: Can I match an optional unknown character?
Thu Nov 08, 2018 11:28 am
• by
Mr_Noodle
Not really that specifically but you can create two conditions. One to match with symbols afterwards and one to match without.
Mr_Noodle
Site Admin
Posts:
11872
Joined:
Sun Sep 03, 2006 1:30 am
Location:
New York City
Reply with quote
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by
Author
Post time
Subject
Ascending
Descending
Post a reply
2 posts • Page
1
of
1
Return to Support
Jump to:
Select a forum
------------------
General
Forum/Site Discussion
Hazel
Support
Open Discussion
Tips & Tricks - DO NOT POST QUESTIONS
Beta Discussion