Page 1 of 1

how to match single character or space?

PostPosted: Wed Mar 10, 2021 1:36 pm
by lo_fye
I have looked everywhere for how to do this.
Sometimes the filename is [character][number] [character] [character][number]
Sometimes the filename is [character][number] [space] [character][number]
Since "Character" doesn't include spaces, and neither does Symbol, I don't know how to achieve this.

Re: how to match single character or space?

PostPosted: Thu Mar 11, 2021 9:48 am
by Mr_Noodle
You'll need to use two different conditions. You can nest them in an "any" condition if needed (look up nested conditions in the manual).

Re: how to match single character or space?

PostPosted: Thu Mar 11, 2021 11:56 pm
by lo_fye
I know how to do conditionals, but I can't match just a space.
There doesn't seem to be a way.
You can match 1 non-blank character, or you can match "N of anything", but you can't match 1 blank character.

Re: how to match single character or space?

PostPosted: Fri Mar 12, 2021 10:15 am
by Mr_Noodle
Are multiple spaces ok? Have you tried entering a space character?

Re: how to match single character or space?

PostPosted: Fri Mar 12, 2021 10:43 am
by lo_fye
Mr_Noodle wrote:Are multiple spaces ok? Have you tried entering a space character?


I was unaware that you could manually enter literal characters!

Re: how to match single character or space?

PostPosted: Mon Jul 05, 2021 11:58 am
by lo_fye
Mr_Noodle wrote:Are multiple spaces ok? Have you tried entering a space character?


I can match space literally, but is there a way to say "zero or more spaces" ?

Re: how to match single character or space?

PostPosted: Tue Jul 06, 2021 9:57 am
by Mr_Noodle
That is how you do it.